Package org.moeaframework
Class Analyzer.AlgorithmResult
java.lang.Object
org.moeaframework.Analyzer.AlgorithmResult
- All Implemented Interfaces:
Displayable
- Enclosing class:
- Analyzer
Stores the results for a single algorithm.
-
Constructor Summary
ConstructorDescriptionAlgorithmResult
(String algorithm) Constructs a new, empty object for storing the results of a single algorithm. -
Method Summary
Modifier and TypeMethodDescriptionvoid
display
(PrintStream ps) Displays the contents of this object to the given output stream.Returns the results for the given indicator.Returns the name of the algorithm.Returns the names of the indicators contained within these results.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.moeaframework.util.format.Displayable
display
-
Constructor Details
-
AlgorithmResult
Constructs a new, empty object for storing the results of a single algorithm.- Parameters:
algorithm
- the algorithm name
-
-
Method Details
-
getAlgorithm
Returns the name of the algorithm.- Returns:
- the algorithm name
-
getIndicators
Returns the names of the indicators contained within these results.- Returns:
- a list of the indicator names
-
get
Returns the results for the given indicator.- Parameters:
indicator
- the indicator name- Returns:
- the results for the given indicator
-
display
Description copied from interface:Displayable
Displays the contents of this object to the given output stream. This method does not close the underlying stream; the caller is responsible for disposing it.- Specified by:
display
in interfaceDisplayable
- Parameters:
ps
- the output stream
-