simbad.picoevo.core.representation
Class PopulationObject
java.lang.Object
simbad.picoevo.core.representation.EvolutionObject
simbad.picoevo.core.representation.PopulationObject
- All Implemented Interfaces:
- PopulationInterface
- Direct Known Subclasses:
- Population, PopulationContainer
public abstract class PopulationObject
- extends EvolutionObject
- implements PopulationInterface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_individualList
protected java.util.ArrayList _individualList
PopulationObject
public PopulationObject(java.lang.String __populationName)
getPopulationSize
public int getPopulationSize()
- return actual population size
- Specified by:
getPopulationSize
in interface PopulationInterface
displayInformation
public void displayInformation()
- Overrides:
displayInformation
in class EvolutionObject
registerIndividual
public abstract void registerIndividual(Individual __ind)
- Specified by:
registerIndividual
in interface PopulationInterface
getIndividual
public Individual getIndividual(int __index)
- Specified by:
getIndividual
in interface PopulationInterface
getIndividualList
public java.util.ArrayList getIndividualList()
- Specified by:
getIndividualList
in interface PopulationInterface
performVariations
public final void performVariations()
- Description copied from class:
EvolutionObject
- This method is called recursively from the entry point towards the smallest element (if any). smaller elements are variated first.
- Specified by:
performVariations
in class EvolutionObject
reset
public void reset()
- Description copied from interface:
PopulationInterface
- Set any list to null in order to ease garbage collecting.
- Specified by:
reset
in interface PopulationInterface