Uses of Class
net.bmahe.genetics4j.core.spec.ImmutableEvolutionResult
-
Uses of ImmutableEvolutionResult in net.bmahe.genetics4j.core.spec
Modifier and TypeMethodDescriptionImmutableEvolutionResult.Builder.build()
Builds a newImmutableEvolutionResult
.static <T extends Comparable<T>>
ImmutableEvolutionResult<T> ImmutableEvolutionResult.copyOf
(EvolutionResult<T> instance) Creates an immutable copy of aEvolutionResult
value.static <T extends Comparable<T>>
ImmutableEvolutionResult<T> ImmutableEvolutionResult.of
(AbstractEAConfiguration<T> eaConfiguration, long generation, Iterable<? extends Genotype> population, Iterable<? extends T> fitness) Construct a new immutableEvolutionResult
instance.static <T extends Comparable<T>>
ImmutableEvolutionResult<T> ImmutableEvolutionResult.of
(AbstractEAConfiguration<T> eaConfiguration, long generation, List<Genotype> population, List<T> fitness) Construct a new immutableEvolutionResult
instance.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withEaConfiguration
(AbstractEAConfiguration<T> value) Copy the current immutable object by setting a value for theeaConfiguration
attribute.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withFitness
(Iterable<? extends T> elements) Copy the current immutable object with elements that replace the content offitness
.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withFitness
(T... elements) Copy the current immutable object with elements that replace the content offitness
.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withGeneration
(long value) Copy the current immutable object by setting a value for thegeneration
attribute.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withPopulation
(Iterable<? extends Genotype> elements) Copy the current immutable object with elements that replace the content ofpopulation
.final ImmutableEvolutionResult
<T> ImmutableEvolutionResult.withPopulation
(Genotype... elements) Copy the current immutable object with elements that replace the content ofpopulation
.Modifier and TypeMethodDescriptionprivate boolean
ImmutableEvolutionResult.equalTo
(int synthetic, ImmutableEvolutionResult<?> another) ModifierConstructorDescriptionprivate
ImmutableEvolutionResult
(ImmutableEvolutionResult<T> original, AbstractEAConfiguration<T> eaConfiguration, long generation, List<Genotype> population, List<T> fitness)