Record Class ExperimentAnalytics

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

public record ExperimentAnalytics(String experimentId, String objectiveDirection, Double targetFitness, String targetSource, long totalRuns, long completedRuns, long successfulRuns, double successRate, Double ert, Double sp1, BoxPlotStats bestFitnessBox, List<Double> bestFitnessValues, BoxPlotStats runtimeMillisBox, BoxPlotStats evaluationsBox, List<ConfidenceBandPoint> convergence95Ci, List<ProfilePoint> successVsBudget, List<HistogramBin> timeToTargetHistogram, List<ProfilePoint> ecdfTotalRuns, List<ProfilePoint> ecdfSuccessfulRuns, List<ProfilePoint> dataProfile, List<ProfilePoint> performanceProfile) extends Record
Aggregate metrics and profile curves computed over all runs of one experiment.
  • Constructor Details

    • ExperimentAnalytics

      public ExperimentAnalytics(String experimentId, String objectiveDirection, Double targetFitness, String targetSource, long totalRuns, long completedRuns, long successfulRuns, double successRate, Double ert, Double sp1, BoxPlotStats bestFitnessBox, List<Double> bestFitnessValues, BoxPlotStats runtimeMillisBox, BoxPlotStats evaluationsBox, List<ConfidenceBandPoint> convergence95Ci, List<ProfilePoint> successVsBudget, List<HistogramBin> timeToTargetHistogram, List<ProfilePoint> ecdfTotalRuns, List<ProfilePoint> ecdfSuccessfulRuns, List<ProfilePoint> dataProfile, List<ProfilePoint> performanceProfile)
      Creates an instance of a ExperimentAnalytics record class.
      Parameters:
      experimentId - the value for the experimentId record component
      objectiveDirection - the value for the objectiveDirection record component
      targetFitness - the value for the targetFitness record component
      targetSource - the value for the targetSource record component
      totalRuns - the value for the totalRuns record component
      completedRuns - the value for the completedRuns record component
      successfulRuns - the value for the successfulRuns record component
      successRate - the value for the successRate record component
      ert - the value for the ert record component
      sp1 - the value for the sp1 record component
      bestFitnessBox - the value for the bestFitnessBox record component
      bestFitnessValues - the value for the bestFitnessValues record component
      runtimeMillisBox - the value for the runtimeMillisBox record component
      evaluationsBox - the value for the evaluationsBox record component
      convergence95Ci - the value for the convergence95Ci record component
      successVsBudget - the value for the successVsBudget record component
      timeToTargetHistogram - the value for the timeToTargetHistogram record component
      ecdfTotalRuns - the value for the ecdfTotalRuns record component
      ecdfSuccessfulRuns - the value for the ecdfSuccessfulRuns record component
      dataProfile - the value for the dataProfile record component
      performanceProfile - the value for the performanceProfile 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • experimentId

      public String experimentId()
      Returns the value of the experimentId record component.
      Returns:
      the value of the experimentId 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
    • targetSource

      public String targetSource()
      Returns the value of the targetSource record component.
      Returns:
      the value of the targetSource record component
    • totalRuns

      public long totalRuns()
      Returns the value of the totalRuns record component.
      Returns:
      the value of the totalRuns record component
    • completedRuns

      public long completedRuns()
      Returns the value of the completedRuns record component.
      Returns:
      the value of the completedRuns record component
    • successfulRuns

      public long successfulRuns()
      Returns the value of the successfulRuns record component.
      Returns:
      the value of the successfulRuns record component
    • successRate

      public double successRate()
      Returns the value of the successRate record component.
      Returns:
      the value of the successRate record component
    • ert

      public Double ert()
      Returns the value of the ert record component.
      Returns:
      the value of the ert record component
    • sp1

      public Double sp1()
      Returns the value of the sp1 record component.
      Returns:
      the value of the sp1 record component
    • bestFitnessBox

      public BoxPlotStats bestFitnessBox()
      Returns the value of the bestFitnessBox record component.
      Returns:
      the value of the bestFitnessBox record component
    • bestFitnessValues

      public List<Double> bestFitnessValues()
      Returns the value of the bestFitnessValues record component.
      Returns:
      the value of the bestFitnessValues record component
    • runtimeMillisBox

      public BoxPlotStats runtimeMillisBox()
      Returns the value of the runtimeMillisBox record component.
      Returns:
      the value of the runtimeMillisBox record component
    • evaluationsBox

      public BoxPlotStats evaluationsBox()
      Returns the value of the evaluationsBox record component.
      Returns:
      the value of the evaluationsBox record component
    • convergence95Ci

      public List<ConfidenceBandPoint> convergence95Ci()
      Returns the value of the convergence95Ci record component.
      Returns:
      the value of the convergence95Ci record component
    • successVsBudget

      public List<ProfilePoint> successVsBudget()
      Returns the value of the successVsBudget record component.
      Returns:
      the value of the successVsBudget record component
    • timeToTargetHistogram

      public List<HistogramBin> timeToTargetHistogram()
      Returns the value of the timeToTargetHistogram record component.
      Returns:
      the value of the timeToTargetHistogram record component
    • ecdfTotalRuns

      public List<ProfilePoint> ecdfTotalRuns()
      Returns the value of the ecdfTotalRuns record component.
      Returns:
      the value of the ecdfTotalRuns record component
    • ecdfSuccessfulRuns

      public List<ProfilePoint> ecdfSuccessfulRuns()
      Returns the value of the ecdfSuccessfulRuns record component.
      Returns:
      the value of the ecdfSuccessfulRuns record component
    • dataProfile

      public List<ProfilePoint> dataProfile()
      Returns the value of the dataProfile record component.
      Returns:
      the value of the dataProfile record component
    • performanceProfile

      public List<ProfilePoint> performanceProfile()
      Returns the value of the performanceProfile record component.
      Returns:
      the value of the performanceProfile record component