|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Evaluator
ec.simple.SimpleEvaluator
ec.multiobjective.spea2.SPEA2Evaluator
public class SPEA2Evaluator
The SPEA2Evaluator is a simple, non-coevolved generational evaluator which evaluates every single member of every subpopulation individually in its own problem space. One Problem instance is cloned from p_problem for each evaluating thread. The Problem must implement SimpleProblemForm. The evaluator is also responsible for calculating the SPEA2Fitness function. This function depends on the entire population and so cannot be calculated in the Problem class.
Field Summary |
---|
Fields inherited from class ec.Evaluator |
---|
P_IAMSLAVE, P_MASTERPROBLEM, p_problem, P_PROBLEM |
Constructor Summary | |
---|---|
SPEA2Evaluator()
|
Method Summary | |
---|---|
void |
computeAuxiliaryData(EvolutionState state)
|
void |
evaluatePopulation(EvolutionState state)
A simple evaluator that doesn't do any coevolutionary evaluation. |
double |
volSphere(int dimensions)
Private helper function. |
Methods inherited from class ec.simple.SimpleEvaluator |
---|
evalPopChunk, runComplete, setup |
Methods inherited from class ec.Evaluator |
---|
closeContacts, initializeContacts, reinitializeContacts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPEA2Evaluator()
Method Detail |
---|
public void evaluatePopulation(EvolutionState state)
evaluatePopulation
in class SimpleEvaluator
public void computeAuxiliaryData(EvolutionState state)
public double volSphere(int dimensions)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |