Uses of Class
net.bmahe.genetics4j.core.ImmutableIndividual
-
Uses of ImmutableIndividual in net.bmahe.genetics4j.core
Modifier and TypeMethodDescriptionImmutableIndividual.Builder.build()
Builds a newImmutableIndividual
.static <T extends Comparable<T>>
ImmutableIndividual<T> ImmutableIndividual.copyOf
(Individual<T> instance) Creates an immutable copy of aIndividual
value.static <T extends Comparable<T>>
ImmutableIndividual<T> Construct a new immutableIndividual
instance.final ImmutableIndividual
<T> ImmutableIndividual.withFitness
(T value) Copy the current immutable object by setting a value for thefitness
attribute.final ImmutableIndividual
<T> ImmutableIndividual.withGenotype
(Genotype value) Copy the current immutable object by setting a value for thegenotype
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableIndividual.equalTo
(int synthetic, ImmutableIndividual<?> another) ModifierConstructorDescriptionprivate
ImmutableIndividual
(ImmutableIndividual<T> original, Genotype genotype, T fitness)