Class Analyzer.EndOfRunResults

java.lang.Object
org.moeaframework.Analyzer.EndOfRunResults
Enclosing class:
Analyzer

public class Analyzer.EndOfRunResults extends Object
Collection of end-of-run results (i.e., the approximation set) produced by an algorithm across multiple seeds.
  • Constructor Details

    • EndOfRunResults

      public EndOfRunResults(String algorithmName)
      Constructs a new end-of-run results object for the given algorithm.
      Parameters:
      algorithmName - the name of the algorithm
  • Method Details

    • getAlgorithmName

      public String getAlgorithmName()
      Returns the algorithm name.
      Returns:
      the algorithm name
    • addApproximationSet

      public void addApproximationSet(NondominatedPopulation approximationSet)
      Adds an end-of-run approximation set to these results.
      Parameters:
      approximationSet - the end-of-run approximation set
    • getApproximationSets

      public List<NondominatedPopulation> getApproximationSets()
      Returns all end-of-run approximation sets contained within these results.
      Returns:
      the list of end-of-run approximation sets
    • getAggregate

      public NondominatedPopulation getAggregate(Epsilons epsilons)
      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, or null if no epsilons are specified
      Returns:
      the aggregate set
    • copy

      public Analyzer.EndOfRunResults copy()
      Returns a shallow copy of these results. Changes made to the Analyzer will not be reflected in the returned copy.
      Returns:
      the copy