Class Analyzer.AlgorithmResult

java.lang.Object
org.moeaframework.Analyzer.AlgorithmResult
All Implemented Interfaces:
Displayable
Enclosing class:
Analyzer

public class Analyzer.AlgorithmResult extends Object implements Displayable
Stores the results for a single algorithm.
  • Constructor Details

    • AlgorithmResult

      public AlgorithmResult(String algorithm)
      Constructs a new, empty object for storing the results of a single algorithm.
      Parameters:
      algorithm - the algorithm name
  • Method Details

    • getAlgorithm

      public String getAlgorithm()
      Returns the name of the algorithm.
      Returns:
      the algorithm name
    • getIndicators

      public List<String> getIndicators()
      Returns the names of the indicators contained within these results.
      Returns:
      a list of the indicator names
    • get

      public Analyzer.IndicatorResult get(String indicator)
      Returns the results for the given indicator.
      Parameters:
      indicator - the indicator name
      Returns:
      the results for the given indicator
    • display

      public void display(PrintStream ps)
      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 interface Displayable
      Parameters:
      ps - the output stream