public class Population
extends java.lang.Object
| Constructor and Description |
|---|
Population(ComponentXMLData representation,
SSEA2D tde,
int inputnumber,
int outputnumber) |
| Modifier and Type | Method and Description |
|---|---|
void |
evolve()
Evolves the IRepresentation of every member according to the
evolution-rules
|
java.util.ArrayList<AbstractRepresentation> |
getMembers()
Returns an ArrayList of IRepresentations which contains all the
IRepresentations of the Members
|
public Population(ComponentXMLData representation, SSEA2D tde, int inputnumber, int outputnumber)
representation - ComponentXMLdata which is used to create the Members. If this
constructor is called in a subclass of AbstractRepresentation the
variable representation should be handed overtde - Instance of TwoDimensionalEvolution which holds the properties
for each member. If this constructor is called in a subclass
of AbstractRepresentation the value this should be handed overpublic java.util.ArrayList<AbstractRepresentation> getMembers()
public void evolve()