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 Details

    • getAlgorithms

      public Set<String> getAlgorithms()
      Returns the algorithms processed using this analyzer.
      Returns:
      the algorithm names
    • getIndicators

      public EnumSet<StandardIndicator> getIndicators()
      Returns the indicators that are included in these results.
      Returns:
      the indicators
    • get

      public Analyzer.EndOfRunResults get(String algorithmName)
      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 algorithm
      indicator - the indicator
      Returns:
      the descriptive statistics
    • getSimilarAlgorithms

      public Set<String> getSimilarAlgorithms(String algorithmName, StandardIndicator indicator)
      Returns a set of algorithm names that produced statistically similar results as the given algorithm.
      Parameters:
      algorithmName - the name of the algorithm
      indicator - the indicator
      Returns:
      the algorithms with statistically similar results
    • asTabularData

      public TabularData<org.apache.commons.lang3.tuple.Pair<String,StandardIndicator>> asTabularData()
      Description copied from interface: Formattable
      Returns the contents of this object as a TabularData instance, which can be used to save, print, or format the data in various ways.
      Specified by:
      asTabularData in interface Formattable<org.apache.commons.lang3.tuple.Pair<String,StandardIndicator>>
      Returns:
      the TabularData instance