simbad.picoevo.core.representation
Class PopulationObject

java.lang.Object
  extended by simbad.picoevo.core.representation.EvolutionObject
      extended by simbad.picoevo.core.representation.PopulationObject
All Implemented Interfaces:
PopulationInterface
Direct Known Subclasses:
Population, PopulationContainer

public abstract class PopulationObject
extends EvolutionObject
implements PopulationInterface


Field Summary
protected  java.util.ArrayList _individualList
           
 
Fields inherited from class simbad.picoevo.core.representation.EvolutionObject
_memoryModule, _name, _variationOperatorList
 
Constructor Summary
PopulationObject(java.lang.String __populationName)
           
 
Method Summary
 void displayInformation()
           
 Individual getIndividual(int __index)
           
 java.util.ArrayList getIndividualList()
           
 int getPopulationSize()
          return actual population size
 void performVariations()
          This method is called recursively from the entry point towards the smallest element (if any).
abstract  void registerIndividual(Individual __ind)
           
 void reset()
          Set any list to null in order to ease garbage collecting.
 
Methods inherited from class simbad.picoevo.core.representation.EvolutionObject
addOperator, addOperatorList, getDisplayInformation, getName, getVariationOperator, getVariationOperatorList, getVariationOperatorListSize, performLevelVariations, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_individualList

protected java.util.ArrayList _individualList
Constructor Detail

PopulationObject

public PopulationObject(java.lang.String __populationName)
Method Detail

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