Package org.moeaframework
Class Analyzer.EndOfRunResults
java.lang.Object
org.moeaframework.Analyzer.EndOfRunResults
- Enclosing class:
- Analyzer
Collection of end-of-run results (i.e., the approximation set) produced by an algorithm across multiple seeds.
-
Constructor Summary
ConstructorDescriptionEndOfRunResults
(String algorithmName) Constructs a new end-of-run results object for the given algorithm. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addApproximationSet
(NondominatedPopulation approximationSet) Adds an end-of-run approximation set to these results.copy()
Returns a shallow copy of these results.getAggregate
(Epsilons epsilons) Calculates and returns the end-of-run aggregate set for these results.Returns the algorithm name.Returns all end-of-run approximation sets contained within these results.
-
Constructor Details
-
EndOfRunResults
Constructs a new end-of-run results object for the given algorithm.- Parameters:
algorithmName
- the name of the algorithm
-
-
Method Details
-
getAlgorithmName
Returns the algorithm name.- Returns:
- the algorithm name
-
addApproximationSet
Adds an end-of-run approximation set to these results.- Parameters:
approximationSet
- the end-of-run approximation set
-
getApproximationSets
Returns all end-of-run approximation sets contained within these results.- Returns:
- the list of end-of-run approximation sets
-
getAggregate
Calculates and returns the end-of-run aggregate set for these results. This aggregate set combines the individual end-of-run results.- Parameters:
epsilons
- the epsilon values, ornull
if no epsilons are specified- Returns:
- the aggregate set
-
copy
Returns a shallow copy of these results. Changes made to theAnalyzer
will not be reflected in the returned copy.- Returns:
- the copy
-