G
- the gene typeC
- the fitness typepublic final class EvolutionStart<G extends Gene<?,G>,C extends Comparable<? super C>> extends Object
EvolutionResult
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getGeneration()
Return the generation of the start population.
|
Population<G,C> |
getPopulation()
Return the population before the evolution step.
|
int |
hashCode() |
static <G extends Gene<?,G>,C extends Comparable<? super C>> |
of(Population<G,C> population,
long generation)
Create a new evolution start object with the given population and for the
given generation.
|
String |
toString() |
public Population<G,C> getPopulation()
public long getGeneration()
public static <G extends Gene<?,G>,C extends Comparable<? super C>> EvolutionStart<G,C> of(Population<G,C> population, long generation)
G
- the gene typeC
- the fitness typepopulation
- the start population.generation
- the start generation of the populationNullPointerException
- if the given population
is
null
.IllegalArgumentException
- if the given generation
is
smaller then one© 2007-2017 Franz Wilhelmstötter (2017-04-28 16:50)