Uses of Class
net.bmahe.genetics4j.core.postevaluationprocess.ImmutableFitnessSharing.Builder
-
Uses of ImmutableFitnessSharing.Builder in net.bmahe.genetics4j.core.postevaluationprocess
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
ImmutableFitnessSharing.Builder<T> ImmutableFitnessSharing.builder()
Creates a builder forImmutableFitnessSharing
.final ImmutableFitnessSharing.Builder
<T> ImmutableFitnessSharing.Builder.distance
(BiFunction<Genotype, Genotype, Double> distance) Initializes the value for thedistance
attribute.final ImmutableFitnessSharing.Builder
<T> ImmutableFitnessSharing.Builder.from
(FitnessSharing<T> instance) Fill a builder with attribute values from the providedFitnessSharing
instance.final ImmutableFitnessSharing.Builder
<T> ImmutableFitnessSharing.Builder.scaleFitness
(BiFunction<Individual<T>, Double, T> scaleFitness) Initializes the value for thescaleFitness
attribute.final ImmutableFitnessSharing.Builder
<T> Initializes the value for thesharing
attribute.