|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Evaluator
ec.spatial.SpatialMultiPopCoevolutionaryEvaluator
public class SpatialMultiPopCoevolutionaryEvaluator
SpatialMultiPopCoevolutionaryEvaluator implements a coevolutionary evaluator involving multiple spatially-embedded subpopulations.
Field Summary | |
---|---|
static java.lang.String |
P_NUM_PARTNERS
The number of partners used for the coevolutionary evaluation from each of the subpopulations. |
static java.lang.String |
P_SELECTIONMETHOD
The selection method used to select the other partners from the previous generation. |
static java.lang.String |
P_SUBPOP
The preamble for selecting partners from each subpopulation. |
static java.lang.String |
P_USE_SAME_LOCATION_PARTNER
Whether one set of partners should be selected as the individuals with the same index from the other subpopulations. |
Fields inherited from class ec.Evaluator |
---|
P_IAMSLAVE, P_MASTERPROBLEM, p_problem, P_PROBLEM |
Constructor Summary | |
---|---|
SpatialMultiPopCoevolutionaryEvaluator()
|
Method Summary | |
---|---|
void |
evaluatePopulation(EvolutionState state)
Evaluates the fitness of an entire population. |
void |
performCoevolutionaryEvaluation(EvolutionState state,
Population population,
GroupedProblemForm prob)
|
boolean |
runComplete(EvolutionState state)
Returns true if an ideal individual has been found or some other run result has shortcircuited the run so that it should end prematurely right now. |
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. |
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 |
Field Detail |
---|
public static final java.lang.String P_SUBPOP
public static final java.lang.String P_SELECTIONMETHOD
public static final java.lang.String P_NUM_PARTNERS
public static final java.lang.String P_USE_SAME_LOCATION_PARTNER
Constructor Detail |
---|
public SpatialMultiPopCoevolutionaryEvaluator()
Method Detail |
---|
public void setup(EvolutionState state, Parameter base)
Setup
setup
in interface Setup
setup
in class Evaluator
public boolean runComplete(EvolutionState state)
Evaluator
runComplete
in class Evaluator
public void evaluatePopulation(EvolutionState state)
Evaluator
evaluatePopulation
in class Evaluator
public void performCoevolutionaryEvaluation(EvolutionState state, Population population, GroupedProblemForm prob)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |