Package org.moeaframework
Class Analyzer.AnalyzerResults
java.lang.Object
org.moeaframework.Analyzer.AnalyzerResults
- All Implemented Interfaces:
Displayable
,Formattable<org.apache.commons.lang3.tuple.Pair<String,
StandardIndicator>>
- Enclosing class:
- Analyzer
public class Analyzer.AnalyzerResults
extends Object
implements Formattable<org.apache.commons.lang3.tuple.Pair<String,StandardIndicator>>
Stores the results produced by this analyzer.
-
Method Summary
Modifier and TypeMethodDescriptionTabularData<org.apache.commons.lang3.tuple.Pair<String,
StandardIndicator>> Returns the contents of this object as aTabularData
instance, which can be used to save, print, or format the data in various ways.Returns the end-of-run results for an algorithm.Returns the algorithms processed using this analyzer.Returns the indicators that are included in these results.getSimilarAlgorithms
(String algorithmName, StandardIndicator indicator) Returns a set of algorithm names that produced statistically similar results as the given algorithm.org.apache.commons.math3.stat.descriptive.DescriptiveStatistics
getStatistics
(String algorithmName, StandardIndicator indicator) Returns the descriptive statistics for an algorithm.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
-
Method Details
-
getAlgorithms
Returns the algorithms processed using this analyzer.- Returns:
- the algorithm names
-
getIndicators
Returns the indicators that are included in these results.- Returns:
- the indicators
-
get
Returns the end-of-run results for an algorithm.- Parameters:
algorithmName
- the name of the algorithm- Returns:
- the results for the given algorithm
-
getStatistics
public org.apache.commons.math3.stat.descriptive.DescriptiveStatistics getStatistics(String algorithmName, StandardIndicator indicator) Returns the descriptive statistics for an algorithm.- Parameters:
algorithmName
- the name of the algorithmindicator
- the indicator- Returns:
- the descriptive statistics
-
getSimilarAlgorithms
Returns a set of algorithm names that produced statistically similar results as the given algorithm.- Parameters:
algorithmName
- the name of the algorithmindicator
- the indicator- Returns:
- the algorithms with statistically similar results
-
asTabularData
Description copied from interface:Formattable
Returns the contents of this object as aTabularData
instance, which can be used to save, print, or format the data in various ways.- Specified by:
asTabularData
in interfaceFormattable<org.apache.commons.lang3.tuple.Pair<String,
StandardIndicator>> - Returns:
- the
TabularData
instance
-