public class NSGA2MultiObjectiveFitness extends MultiObjectiveFitness
| Modifier and Type | Field and Description |
|---|---|
static String |
NSGA2_RANK_PREAMBLE |
static String |
NSGA2_SPARSITY_PREAMBLE |
int |
rank
Pareto front rank measure (lower ranks are better)
|
double |
sparsity
Sparsity along front rank measure (higher sparsity is better)
|
FITNESS_POSTAMBLE, maximize, maxObjective, minObjective, MULTI_FITNESS_POSTAMBLE, objectives, P_MAXIMIZE, P_MAXOBJECTIVES, P_MINOBJECTIVES, P_NUMOBJECTIVEScontext, FITNESS_PREAMBLE, P_FITNESS, trials| Constructor and Description |
|---|
NSGA2MultiObjectiveFitness() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
betterThan(Fitness _fitness)
We specify the tournament selection criteria, Rank (lower
values are better) and Sparsity (higher values are better)
|
boolean |
equivalentTo(Fitness _fitness)
Returns true if I'm equivalent in fitness (neither better nor worse) to
_fitness.
|
String |
fitnessToString()
Print to a string the fitness in a fashion intended
to be parsed in again via readFitness(...).
|
String |
fitnessToStringForHumans()
Print to a string the fitness in a fashion readable by humans, and not intended
to be parsed in again.
|
String[] |
getAuxilliaryFitnessNames()
Returns auxilliary fitness value names to be printed by the statistics object.
|
double[] |
getAuxilliaryFitnessValues()
Returns auxilliary fitness values to be printed by the statistics object.
|
void |
readFitness(EvolutionState state,
DataInput dataInput)
Reads the binary form of an individual from a DataInput.
|
void |
readFitness(EvolutionState state,
LineNumberReader reader)
Reads in the fitness from a form outputted by fitnessToString() and thus
printFitnessForHumans(...).
|
void |
writeFitness(EvolutionState state,
DataOutput dataOutput)
Writes the binary form of an individual out to a DataOutput.
|
clone, defaultBase, fitness, getNumObjectives, getObjective, getObjectives, getRankings, isIdealFitness, isMaximizing, isMaximizing, manhattanObjectiveDistance, paretoDominates, partitionIntoParetoFront, partitionIntoRanks, setObjectives, setToBestOf, setToMeanOf, setToMedianOf, setup, sumSquaredObjectiveDistancecompareTo, contextIsBetterThan, getContext, merge, printFitness, printFitness, printFitness, printFitnessForHumans, printFitnessForHumans, readTrials, setContext, setContext, writeTrialspublic static final String NSGA2_RANK_PREAMBLE
public static final String NSGA2_SPARSITY_PREAMBLE
public int rank
public double sparsity
public String[] getAuxilliaryFitnessNames()
MultiObjectiveFitnessgetAuxilliaryFitnessNames in class MultiObjectiveFitnesspublic double[] getAuxilliaryFitnessValues()
MultiObjectiveFitnessgetAuxilliaryFitnessValues in class MultiObjectiveFitnesspublic String fitnessToString()
FitnessfitnessToString in class MultiObjectiveFitnesspublic String fitnessToStringForHumans()
FitnessfitnessToStringForHumans in class MultiObjectiveFitnesspublic void readFitness(EvolutionState state, LineNumberReader reader) throws IOException
FitnessreadFitness in class MultiObjectiveFitnessIOExceptionpublic void writeFitness(EvolutionState state, DataOutput dataOutput) throws IOException
FitnesswriteFitness in class MultiObjectiveFitnessIOExceptionpublic void readFitness(EvolutionState state, DataInput dataInput) throws IOException
FitnessreadFitness in class MultiObjectiveFitnessIOExceptionpublic boolean equivalentTo(Fitness _fitness)
MultiObjectiveFitnessequivalentTo in class MultiObjectiveFitnesspublic boolean betterThan(Fitness _fitness)
betterThan in class MultiObjectiveFitnessCopyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.