Class SPEA2Utils
java.lang.Object
net.bmahe.genetics4j.moo.spea2.replacement.SPEA2Utils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
List<org.apache.commons.lang3.tuple.Pair<Integer, Double>> kthDistances
(double[][] distanceObjectives, int index, T fitness, Population<T> combinedPopulation) static <T extends Comparable<T>>
intrawFitness
(Comparator<T> dominance, double[] strengths, int index, T fitness, Population<T> population) static <T extends Comparable<T>>
intstrength
(Comparator<T> dominance, int index, T fitness, Population<T> population)
-
Constructor Details
-
SPEA2Utils
private SPEA2Utils()
-
-
Method Details
-
strength
public static <T extends Comparable<T>> int strength(Comparator<T> dominance, int index, T fitness, Population<T> population) -
rawFitness
public static <T extends Comparable<T>> int rawFitness(Comparator<T> dominance, double[] strengths, int index, T fitness, Population<T> population) -
kthDistances
public static <T extends Comparable<T>> List<org.apache.commons.lang3.tuple.Pair<Integer,Double>> kthDistances(double[][] distanceObjectives, int index, T fitness, Population<T> combinedPopulation)
-