Uses of Interface
net.bmahe.genetics4j.moo.ObjectiveDistance
-
Uses of ObjectiveDistance in net.bmahe.genetics4j.moo.nsga2.impl
Modifier and TypeMethodDescriptionstatic <T> double[]
NSGA2Utils.crowdingDistanceAssignment
(int numberObjectives, List<T> fitnessScore, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> objectiveDistance) -
Uses of ObjectiveDistance in net.bmahe.genetics4j.moo.nsga2.spec
Modifier and TypeFieldDescriptionprivate ObjectiveDistance
<T> ImmutableNSGA2Selection.Builder.distance
private final ObjectiveDistance
<T> ImmutableNSGA2Selection.distance
private ObjectiveDistance
<T> ImmutableTournamentNSGA2Selection.Builder.distance
private final ObjectiveDistance
<T> ImmutableTournamentNSGA2Selection.distance
Modifier and TypeMethodDescriptionImmutableNSGA2Selection.distance()
Define how to compute distances between fitness scores along their objectivesImmutableTournamentNSGA2Selection.distance()
Define how to compute distances between fitness scores along their objectivesabstract ObjectiveDistance
<T> NSGA2Selection.distance()
Define how to compute distances between fitness scores along their objectivesabstract ObjectiveDistance
<T> TournamentNSGA2Selection.distance()
Define how to compute distances between fitness scores along their objectivesModifier and TypeMethodDescriptionfinal NSGA2Selection.Builder
<T> ImmutableNSGA2Selection.Builder.distance
(ObjectiveDistance<T> distance) Initializes the value for thedistance
attribute.ImmutableTournamentNSGA2Selection.Builder.distance
(ObjectiveDistance<T> distance) Initializes the value for thedistance
attribute.static <T extends Comparable<T>>
ImmutableNSGA2Selection<T> ImmutableNSGA2Selection.of
(int numberObjectives, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance) Construct a new immutableNSGA2Selection
instance.static <T extends Comparable<T>>
ImmutableTournamentNSGA2Selection<T> ImmutableTournamentNSGA2Selection.of
(int numberObjectives, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance, int numCandidates) Construct a new immutableTournamentNSGA2Selection
instance.final ImmutableNSGA2Selection
<T> ImmutableNSGA2Selection.withDistance
(ObjectiveDistance<T> value) Copy the current immutable object by setting a value for thedistance
attribute.ImmutableTournamentNSGA2Selection.withDistance
(ObjectiveDistance<T> value) Copy the current immutable object by setting a value for thedistance
attribute.ModifierConstructorDescriptionprivate
ImmutableNSGA2Selection
(int numberObjectives, Comparator<T> dominance, Optional<Comparator<Genotype>> deduplicate, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance) private
ImmutableNSGA2Selection
(int numberObjectives, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance) private
ImmutableTournamentNSGA2Selection
(int numberObjectives, Comparator<T> dominance, Optional<Comparator<Genotype>> deduplicate, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance, int numCandidates) private
ImmutableTournamentNSGA2Selection
(int numberObjectives, Function<Integer, Comparator<T>> objectiveComparator, ObjectiveDistance<T> distance, int numCandidates)