public class HypervolumeStatistics extends SimpleStatistics
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
P_REFERENCE_POINT |
best_of_run, compress, doDescription, doFinal, doGeneration, doMessage, doPerGenerationDescription, P_COMPRESS, P_DO_DESCRIPTION, P_DO_FINAL, P_DO_GENERATION, P_DO_MESSAGE, P_DO_PER_GENERATION_DESCRIPTION, P_STATISTICS_FILE, statisticslog
children, P_CHILD, P_MUZZLE, P_NUMCHILDREN, P_SILENT, P_SILENT_FILE, P_SILENT_PRINT, silentFile, silentPrint
Constructor and Description |
---|
HypervolumeStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
finalStatistics(EvolutionState state,
int result)
Logs the best individual of the run.
|
double[] |
getReferencePoint() |
double |
hypervolume(java.util.ArrayList<Individual> paretoFront)
Compute the hypervolume of the Pareto front induced by a collection of points,
relative to the reference point that was provided to this class's setup() method.
|
static double |
hypervolume(java.util.ArrayList<Individual> paretoFront,
double[] referencePoint)
Compute the hypervolume of the Pareto front induced by a collection of points,
relative to the provided reference point.
|
double |
inclusiveHypervolume(Individual ind)
Compute the hypervolume covered by a single individual,
relative to the reference point that was provided to this class's setup() method.
|
static double |
inclusiveHypervolume(Individual ind,
double[] referencePoint)
Compute the hypervolume covered by a single individual,
relative to the provided reference point.
|
void |
postEvaluationStatistics(EvolutionState state)
GENERATIONAL: Called immediately after evaluation occurs.
|
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
bypassFinalStatistics, bypassPostEvaluationStatistics, getBestSoFar, postInitializationStatistics
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postBreedingStatistics, postCheckpointStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preBreedingStatistics, preCheckpointStatistics, preEvaluationStatistics, preInitializationStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postCheckpointStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preCheckpointStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics
public static final java.lang.String P_REFERENCE_POINT
public double[] getReferencePoint()
public void setup(EvolutionState state, Parameter base)
Setup
setup
in interface Setup
setup
in class SimpleStatistics
public void postEvaluationStatistics(EvolutionState state)
Statistics
postEvaluationStatistics
in class SimpleStatistics
public double hypervolume(java.util.ArrayList<Individual> paretoFront)
public static double hypervolume(java.util.ArrayList<Individual> paretoFront, double[] referencePoint)
public double inclusiveHypervolume(Individual ind)
public static double inclusiveHypervolume(Individual ind, double[] referencePoint)
public void finalStatistics(EvolutionState state, int result)
finalStatistics
in interface SteadyStateStatisticsForm
finalStatistics
in class SimpleStatistics