Record Class ProblemComparisonReport

java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ProblemComparisonReport

public record ProblemComparisonReport(String problemType, String objectiveDirection, Double targetFitness, List<AlgorithmComparisonRow> algorithms, List<PairwiseTestResult> pairwiseWilcoxon, FriedmanTestResult friedman, List<ProfileSeries> dataProfiles, List<ProfileSeries> performanceProfiles) extends Record
Cross-algorithm comparison payload for one problem family.
  • Constructor Details

    • ProblemComparisonReport

      public ProblemComparisonReport(String problemType, String objectiveDirection, Double targetFitness, List<AlgorithmComparisonRow> algorithms, List<PairwiseTestResult> pairwiseWilcoxon, FriedmanTestResult friedman, List<ProfileSeries> dataProfiles, List<ProfileSeries> performanceProfiles)
      Creates an instance of a ProblemComparisonReport record class.
      Parameters:
      problemType - the value for the problemType record component
      objectiveDirection - the value for the objectiveDirection record component
      targetFitness - the value for the targetFitness record component
      algorithms - the value for the algorithms record component
      pairwiseWilcoxon - the value for the pairwiseWilcoxon record component
      friedman - the value for the friedman record component
      dataProfiles - the value for the dataProfiles record component
      performanceProfiles - the value for the performanceProfiles record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • problemType

      public String problemType()
      Returns the value of the problemType record component.
      Returns:
      the value of the problemType record component
    • objectiveDirection

      public String objectiveDirection()
      Returns the value of the objectiveDirection record component.
      Returns:
      the value of the objectiveDirection record component
    • targetFitness

      public Double targetFitness()
      Returns the value of the targetFitness record component.
      Returns:
      the value of the targetFitness record component
    • algorithms

      public List<AlgorithmComparisonRow> algorithms()
      Returns the value of the algorithms record component.
      Returns:
      the value of the algorithms record component
    • pairwiseWilcoxon

      public List<PairwiseTestResult> pairwiseWilcoxon()
      Returns the value of the pairwiseWilcoxon record component.
      Returns:
      the value of the pairwiseWilcoxon record component
    • friedman

      public FriedmanTestResult friedman()
      Returns the value of the friedman record component.
      Returns:
      the value of the friedman record component
    • dataProfiles

      public List<ProfileSeries> dataProfiles()
      Returns the value of the dataProfiles record component.
      Returns:
      the value of the dataProfiles record component
    • performanceProfiles

      public List<ProfileSeries> performanceProfiles()
      Returns the value of the performanceProfiles record component.
      Returns:
      the value of the performanceProfiles record component