G
- the gene typeC
- the fitness function result typepublic final class EvolutionParams<G extends Gene<?,G>,C extends Comparable<? super C>> extends Object implements Serializable
Engine
,
Engine.Builder
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
EvolutionParams.Builder<G extends Gene<?,G>,C extends Comparable<? super C>>
Builder class for the evolution parameter.
|
Modifier and Type | Method and Description |
---|---|
Alterer<G,C> |
alterer()
Return the used
Alterer of the GA. |
static <G extends Gene<?,G>,C extends Comparable<? super C>> |
builder()
Create a new evolution parameter builder.
|
long |
maximalPhenotypeAge()
Return the maximal allowed phenotype age.
|
double |
offspringFraction()
Return the offspring fraction.
|
Selector<G,C> |
offspringSelector()
Return the used offspring
Selector of the GA. |
int |
offspringSize()
Return the number of offspring.
|
int |
populationSize()
Return the population size.
|
Selector<G,C> |
survivorsSelector()
Return the used survivor
Selector of the GA. |
int |
survivorsSize()
Return the number of survivors.
|
EvolutionParams.Builder<G,C> |
toBuilder()
Return a new builder object, initialized with
this parameters. |
public Selector<G,C> survivorsSelector()
Selector
of the GA.Selector
of the GA.public Selector<G,C> offspringSelector()
Selector
of the GA.Selector
of the GA.public Alterer<G,C> alterer()
Alterer
of the GA.Alterer
of the GA.public int populationSize()
public double offspringFraction()
public long maximalPhenotypeAge()
public int offspringSize()
public int survivorsSize()
public EvolutionParams.Builder<G,C> toBuilder()
this
parameters.public static <G extends Gene<?,G>,C extends Comparable<? super C>> EvolutionParams.Builder<G,C> builder()
G
- the gene typeC
- the fitness function result type© 2007-2020 Franz Wilhelmstötter (2020-02-18 20:01)