com.rubecula.darwin.domain.world
Class Population_Managed.ProcessBestInEnvironment
java.lang.Object
com.rubecula.darwin.domain.world.Population_Managed.ProcessBestInEnvironment
- All Implemented Interfaces:
- ProcessBest<Organism>
- Enclosing class:
- Population_Managed
protected final class Population_Managed.ProcessBestInEnvironment
- extends java.lang.Object
- implements ProcessBest<Organism>
Type which provides a callback method which is called whenever a new best
organism in the environment is found. This event only occurs at the end
of a generation. Typically, there will be a convergence factor, which
means that we don't jump on the very first generation in which there is
an improvement, but rather we wait until things have settled a bit.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
onUpdate
public void onUpdate(Organism object)
- Callback method (see above).
- Specified by:
onUpdate
in interface ProcessBest<Organism>
- See Also:
ProcessBest.onUpdate(net.sf.tostring0.Identifiable)
setCriterion
public void setCriterion(java.lang.Object criterion)
- Parameters:
criterion
- the criterion to set
getCriterion
protected java.lang.Object getCriterion()
- Returns:
- the criterion
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.