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 Summary
ConstructorsConstructorDescriptionExperimentAnalytics(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 aExperimentAnalyticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebestFitnessBoxrecord component.Returns the value of thebestFitnessValuesrecord component.longReturns the value of thecompletedRunsrecord component.Returns the value of theconvergence95Cirecord component.Returns the value of thedataProfilerecord component.Returns the value of theecdfSuccessfulRunsrecord component.Returns the value of theecdfTotalRunsrecord component.final booleanIndicates whether some other object is "equal to" this one.ert()Returns the value of theertrecord component.Returns the value of theevaluationsBoxrecord component.Returns the value of theexperimentIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theobjectiveDirectionrecord component.Returns the value of theperformanceProfilerecord component.Returns the value of theruntimeMillisBoxrecord component.sp1()Returns the value of thesp1record component.longReturns the value of thesuccessfulRunsrecord component.doubleReturns the value of thesuccessRaterecord component.Returns the value of thesuccessVsBudgetrecord component.Returns the value of thetargetFitnessrecord component.Returns the value of thetargetSourcerecord component.Returns the value of thetimeToTargetHistogramrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalRunsrecord component.
-
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 aExperimentAnalyticsrecord class.- Parameters:
experimentId- the value for theexperimentIdrecord componentobjectiveDirection- the value for theobjectiveDirectionrecord componenttargetFitness- the value for thetargetFitnessrecord componenttargetSource- the value for thetargetSourcerecord componenttotalRuns- the value for thetotalRunsrecord componentcompletedRuns- the value for thecompletedRunsrecord componentsuccessfulRuns- the value for thesuccessfulRunsrecord componentsuccessRate- the value for thesuccessRaterecord componentert- the value for theertrecord componentsp1- the value for thesp1record componentbestFitnessBox- the value for thebestFitnessBoxrecord componentbestFitnessValues- the value for thebestFitnessValuesrecord componentruntimeMillisBox- the value for theruntimeMillisBoxrecord componentevaluationsBox- the value for theevaluationsBoxrecord componentconvergence95Ci- the value for theconvergence95Cirecord componentsuccessVsBudget- the value for thesuccessVsBudgetrecord componenttimeToTargetHistogram- the value for thetimeToTargetHistogramrecord componentecdfTotalRuns- the value for theecdfTotalRunsrecord componentecdfSuccessfulRuns- the value for theecdfSuccessfulRunsrecord componentdataProfile- the value for thedataProfilerecord componentperformanceProfile- the value for theperformanceProfilerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
experimentId
Returns the value of theexperimentIdrecord component.- Returns:
- the value of the
experimentIdrecord component
-
objectiveDirection
Returns the value of theobjectiveDirectionrecord component.- Returns:
- the value of the
objectiveDirectionrecord component
-
targetFitness
Returns the value of thetargetFitnessrecord component.- Returns:
- the value of the
targetFitnessrecord component
-
targetSource
Returns the value of thetargetSourcerecord component.- Returns:
- the value of the
targetSourcerecord component
-
totalRuns
public long totalRuns()Returns the value of thetotalRunsrecord component.- Returns:
- the value of the
totalRunsrecord component
-
completedRuns
public long completedRuns()Returns the value of thecompletedRunsrecord component.- Returns:
- the value of the
completedRunsrecord component
-
successfulRuns
public long successfulRuns()Returns the value of thesuccessfulRunsrecord component.- Returns:
- the value of the
successfulRunsrecord component
-
successRate
public double successRate()Returns the value of thesuccessRaterecord component.- Returns:
- the value of the
successRaterecord component
-
ert
Returns the value of theertrecord component.- Returns:
- the value of the
ertrecord component
-
sp1
Returns the value of thesp1record component.- Returns:
- the value of the
sp1record component
-
bestFitnessBox
Returns the value of thebestFitnessBoxrecord component.- Returns:
- the value of the
bestFitnessBoxrecord component
-
bestFitnessValues
-
runtimeMillisBox
Returns the value of theruntimeMillisBoxrecord component.- Returns:
- the value of the
runtimeMillisBoxrecord component
-
evaluationsBox
Returns the value of theevaluationsBoxrecord component.- Returns:
- the value of the
evaluationsBoxrecord component
-
convergence95Ci
Returns the value of theconvergence95Cirecord component.- Returns:
- the value of the
convergence95Cirecord component
-
successVsBudget
Returns the value of thesuccessVsBudgetrecord component.- Returns:
- the value of the
successVsBudgetrecord component
-
timeToTargetHistogram
Returns the value of thetimeToTargetHistogramrecord component.- Returns:
- the value of the
timeToTargetHistogramrecord component
-
ecdfTotalRuns
Returns the value of theecdfTotalRunsrecord component.- Returns:
- the value of the
ecdfTotalRunsrecord component
-
ecdfSuccessfulRuns
Returns the value of theecdfSuccessfulRunsrecord component.- Returns:
- the value of the
ecdfSuccessfulRunsrecord component
-
dataProfile
Returns the value of thedataProfilerecord component.- Returns:
- the value of the
dataProfilerecord component
-
performanceProfile
Returns the value of theperformanceProfilerecord component.- Returns:
- the value of the
performanceProfilerecord component
-