org.dbe.eve.ga.impl
Class SimplePopulation
java.lang.Object
org.dbe.eve.ga.impl.SimplePopulation
- All Implemented Interfaces:
- java.io.Serializable
public class SimplePopulation
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Claudius
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimplePopulation
public SimplePopulation()
SimplePopulation
public SimplePopulation(int size)
SimplePopulation
public SimplePopulation(SimplePopulation population)
- Creates a new SimplePopulation based on the other population
- Parameters:
population
-
getIndividuals
public java.util.Vector getIndividuals()
- Returns:
- Returns the individuals.
getIndividual
public Solution getIndividual(int id)
- Returns:
- Returns the individuals.
addIndividual
public void addIndividual(Solution solution)
changeIndividual
public void changeIndividual(int id,
Solution solution)