|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ec.Exchanger | +--ec.simple.SimpleExchanger
A SimpleExchanger is a default Exchanger which, well, doesn't do anything. Most applications don't need Exchanger facilities; this simple version will suffice.
The SimpleExchanger implements the SteadyStateExchangerForm, mostly because it does nothing with individuals. For this reason, it is final; implement your own Exchanger if you need to do something more advanced.
Constructor Summary | |
SimpleExchanger()
|
Method Summary | |
void |
closeContacts(EvolutionState state)
Doesn't do anything. |
void |
initializeContacts(EvolutionState state)
Doesn't do anything. |
Population |
postBreedingExchangePopulation(EvolutionState state)
Simply returns state.population. |
Population |
preBreedingExchangePopulation(EvolutionState state)
Simply returns state.population. |
void |
reinitializeContacts(EvolutionState state)
Doesn't do anything. |
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SimpleExchanger()
Method Detail |
public void setup(EvolutionState state, Parameter base)
public void initializeContacts(EvolutionState state)
public void reinitializeContacts(EvolutionState state)
public Population preBreedingExchangePopulation(EvolutionState state)
public Population postBreedingExchangePopulation(EvolutionState state)
public void closeContacts(EvolutionState state)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |