Package ec.multiobjective
Class HypervolumeStatistics
java.lang.Object
ec.Statistics
ec.simple.SimpleStatistics
ec.multiobjective.HypervolumeStatistics
- All Implemented Interfaces:
Setup,Singleton,SteadyStateStatisticsForm,Serializable
Measures the hypervolume of a population's Pareto front.
Our implementation follows the WFG algorithm, described in
Lyndon While, Lucas Bradstreet, and Luigi Barone, "A Fast Way of Calculating
Exact Hypervolumes," IEEE Transactions on Evolutionary Computation, 16 (1),
February, 2012.
- See Also:
-
Field Summary
FieldsFields inherited from class ec.simple.SimpleStatistics
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, statisticslogFields inherited from class ec.Statistics
children, P_CHILD, P_MUZZLE, P_NUMCHILDREN, P_SILENT, P_SILENT_FILE, P_SILENT_PRINT, silentFile, silentPrint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalStatistics(EvolutionState state, int result) Logs the best individual of the run.double[]doublehypervolume(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 doublehypervolume(ArrayList<Individual> paretoFront, double[] referencePoint) Compute the hypervolume of the Pareto front induced by a collection of points, relative to the provided reference point.doubleCompute the hypervolume covered by a single individual, relative to the reference point that was provided to this class's setup() method.static doubleinclusiveHypervolume(Individual ind, double[] referencePoint) Compute the hypervolume covered by a single individual, relative to the provided reference point.voidGENERATIONAL: Called immediately after evaluation occurs.voidsetup(EvolutionState state, Parameter base) Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.Methods inherited from class ec.simple.SimpleStatistics
bypassFinalStatistics, bypassPostEvaluationStatistics, getBestSoFar, postInitializationStatisticsMethods inherited from class ec.Statistics
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postBreedingStatistics, postCheckpointStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preBreedingStatistics, preCheckpointStatistics, preEvaluationStatistics, preInitializationStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatisticsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ec.steadystate.SteadyStateStatisticsForm
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postCheckpointStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preCheckpointStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics
-
Field Details
-
P_REFERENCE_POINT
- See Also:
-
-
Constructor Details
-
HypervolumeStatistics
public HypervolumeStatistics()
-
-
Method Details
-
getReferencePoint
public double[] getReferencePoint() -
setup
Description copied from interface:SetupSets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else.- Specified by:
setupin interfaceSetup- Overrides:
setupin classSimpleStatistics
-
postEvaluationStatistics
Description copied from class:StatisticsGENERATIONAL: Called immediately after evaluation occurs.- Overrides:
postEvaluationStatisticsin classSimpleStatistics
-
hypervolume
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. -
hypervolume
Compute the hypervolume of the Pareto front induced by a collection of points, relative to the provided reference point. -
inclusiveHypervolume
Compute the hypervolume covered by a single individual, relative to the reference point that was provided to this class's setup() method. -
inclusiveHypervolume
Compute the hypervolume covered by a single individual, relative to the provided reference point. -
finalStatistics
Logs the best individual of the run.- Specified by:
finalStatisticsin interfaceSteadyStateStatisticsForm- Overrides:
finalStatisticsin classSimpleStatistics
-