Uses of Class
net.bmahe.genetics4j.extras.evolutionlisteners.ImmutableEvolutionStep
-
Uses of ImmutableEvolutionStep in net.bmahe.genetics4j.extras.evolutionlisteners
Modifier and TypeMethodDescriptionImmutableEvolutionStep.Builder.build()
Builds a newImmutableEvolutionStep
.static <T extends Comparable<T>,
U>
ImmutableEvolutionStep<T, U> ImmutableEvolutionStep.copyOf
(EvolutionStep<T, U> instance) Creates an immutable copy of aEvolutionStep
value.static <T extends Comparable<T>,
U>
ImmutableEvolutionStep<T, U> ImmutableEvolutionStep.of
(Optional<? extends U> context, long generation, int individualIndex, Genotype individual, T fitness, boolean isDone) Construct a new immutableEvolutionStep
instance.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withContext
(Optional<? extends U> optional) Copy the current immutable object by setting an optional value for thecontext
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withContext
(U value) Copy the current immutable object by setting a present value for the optionalcontext
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withFitness
(T value) Copy the current immutable object by setting a value for thefitness
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withGeneration
(long value) Copy the current immutable object by setting a value for thegeneration
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withIndividual
(Genotype value) Copy the current immutable object by setting a value for theindividual
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withIndividualIndex
(int value) Copy the current immutable object by setting a value for theindividualIndex
attribute.final ImmutableEvolutionStep
<T, U> ImmutableEvolutionStep.withIsDone
(boolean value) Copy the current immutable object by setting a value for theisDone
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableEvolutionStep.equalTo
(int synthetic, ImmutableEvolutionStep<?, ?> another) ModifierConstructorDescriptionprivate
ImmutableEvolutionStep
(ImmutableEvolutionStep<T, U> original, U context, long generation, int individualIndex, Genotype individual, T fitness, boolean isDone)