ec.spatial
Class SpatialMultiPopCoevolutionaryEvaluator

java.lang.Object
  extended by ec.Evaluator
      extended by ec.coevolve.MultiPopCoevolutionaryEvaluator
          extended by ec.spatial.SpatialMultiPopCoevolutionaryEvaluator
All Implemented Interfaces:
Setup, Singleton, java.io.Serializable

public class SpatialMultiPopCoevolutionaryEvaluator
extends MultiPopCoevolutionaryEvaluator

SpatialMultiPopCoevolutionaryEvaluator implements a coevolutionary evaluator involving multiple spatially-embedded subpopulations. You ought to use it in conjuction with SpatialTournamentSelection (for selecting current-generation individuals, set the tournament selection size to 1, which will pick randomly from the space).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ec.coevolve.MultiPopCoevolutionaryEvaluator
numCurrent, numElite, numPrev, P_NUM_ELITE, P_NUM_IND, P_NUM_RAND_IND, P_SELECTION_METHOD_CURRENT, P_SELECTION_METHOD_PREV, P_SUBPOP
 
Fields inherited from class ec.Evaluator
P_IAMSLAVE, P_MASTERPROBLEM, p_problem, P_PROBLEM
 
Constructor Summary
SpatialMultiPopCoevolutionaryEvaluator()
           
 
Method Summary
protected  Individual produce(SelectionMethod method, int subpopulation, int individual, EvolutionState state, int thread)
           
 
Methods inherited from class ec.coevolve.MultiPopCoevolutionaryEvaluator
afterCoevolutionaryEvaluation, beforeCoevolutionaryEvaluation, evaluatePopulation, performCoevolutionaryEvaluation, 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

SpatialMultiPopCoevolutionaryEvaluator

public SpatialMultiPopCoevolutionaryEvaluator()
Method Detail

produce

protected Individual produce(SelectionMethod method,
                             int subpopulation,
                             int individual,
                             EvolutionState state,
                             int thread)
Overrides:
produce in class MultiPopCoevolutionaryEvaluator