Uses of Class
net.bmahe.genetics4j.core.postevaluationprocess.ImmutableFitnessSharing
-
Uses of ImmutableFitnessSharing in net.bmahe.genetics4j.core.postevaluationprocess
Modifier and TypeMethodDescriptionImmutableFitnessSharing.Builder.build()
Builds a newImmutableFitnessSharing
.static <T extends Comparable<T>>
ImmutableFitnessSharing<T> ImmutableFitnessSharing.copyOf
(FitnessSharing<T> instance) Creates an immutable copy of aFitnessSharing
value.static <T extends Comparable<T>>
ImmutableFitnessSharing<T> ImmutableFitnessSharing.of
(BiFunction<Genotype, Genotype, Double> distance, Function<Double, Double> sharing, BiFunction<Individual<T>, Double, T> scaleFitness) Construct a new immutableFitnessSharing
instance.final ImmutableFitnessSharing
<T> ImmutableFitnessSharing.withDistance
(BiFunction<Genotype, Genotype, Double> value) Copy the current immutable object by setting a value for thedistance
attribute.final ImmutableFitnessSharing
<T> ImmutableFitnessSharing.withScaleFitness
(BiFunction<Individual<T>, Double, T> value) Copy the current immutable object by setting a value for thescaleFitness
attribute.final ImmutableFitnessSharing
<T> ImmutableFitnessSharing.withSharing
(Function<Double, Double> value) Copy the current immutable object by setting a value for thesharing
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableFitnessSharing.equalTo
(int synthetic, ImmutableFitnessSharing<?> another) ModifierConstructorDescriptionprivate
ImmutableFitnessSharing
(ImmutableFitnessSharing<T> original, BiFunction<Genotype, Genotype, Double> distance, Function<Double, Double> sharing, BiFunction<Individual<T>, Double, T> scaleFitness)