Record Class CocoAggregateRow
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.coco.model.CocoAggregateRow
public record CocoAggregateRow(String campaignId, String optimizerId, int dimension, double targetValue, Double meanEvaluationsToTarget, double successRate, Double medianBestFitness, String comparedReferenceOptimizer, Double referenceErt, Double edafErt, Double ertRatio)
extends Record
Aggregated COCO statistics per optimizer/dimension/target.
-
Constructor Summary
ConstructorsConstructorDescriptionCocoAggregateRow(String campaignId, String optimizerId, int dimension, double targetValue, Double meanEvaluationsToTarget, double successRate, Double medianBestFitness, String comparedReferenceOptimizer, Double referenceErt, Double edafErt, Double ertRatio) Creates an instance of aCocoAggregateRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecampaignIdrecord component.Returns the value of thecomparedReferenceOptimizerrecord component.intReturns the value of thedimensionrecord component.edafErt()Returns the value of theedafErtrecord component.final booleanIndicates whether some other object is "equal to" this one.ertRatio()Returns the value of theertRatiorecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themeanEvaluationsToTargetrecord component.Returns the value of themedianBestFitnessrecord component.Returns the value of theoptimizerIdrecord component.Returns the value of thereferenceErtrecord component.doubleReturns the value of thesuccessRaterecord component.doubleReturns the value of thetargetValuerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CocoAggregateRow
public CocoAggregateRow(String campaignId, String optimizerId, int dimension, double targetValue, Double meanEvaluationsToTarget, double successRate, Double medianBestFitness, String comparedReferenceOptimizer, Double referenceErt, Double edafErt, Double ertRatio) Creates an instance of aCocoAggregateRowrecord class.- Parameters:
campaignId- the value for thecampaignIdrecord componentoptimizerId- the value for theoptimizerIdrecord componentdimension- the value for thedimensionrecord componenttargetValue- the value for thetargetValuerecord componentmeanEvaluationsToTarget- the value for themeanEvaluationsToTargetrecord componentsuccessRate- the value for thesuccessRaterecord componentmedianBestFitness- the value for themedianBestFitnessrecord componentcomparedReferenceOptimizer- the value for thecomparedReferenceOptimizerrecord componentreferenceErt- the value for thereferenceErtrecord componentedafErt- the value for theedafErtrecord componentertRatio- the value for theertRatiorecord 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. -
campaignId
Returns the value of thecampaignIdrecord component.- Returns:
- the value of the
campaignIdrecord component
-
optimizerId
Returns the value of theoptimizerIdrecord component.- Returns:
- the value of the
optimizerIdrecord component
-
dimension
public int dimension()Returns the value of thedimensionrecord component.- Returns:
- the value of the
dimensionrecord component
-
targetValue
public double targetValue()Returns the value of thetargetValuerecord component.- Returns:
- the value of the
targetValuerecord component
-
meanEvaluationsToTarget
Returns the value of themeanEvaluationsToTargetrecord component.- Returns:
- the value of the
meanEvaluationsToTargetrecord component
-
successRate
public double successRate()Returns the value of thesuccessRaterecord component.- Returns:
- the value of the
successRaterecord component
-
medianBestFitness
Returns the value of themedianBestFitnessrecord component.- Returns:
- the value of the
medianBestFitnessrecord component
-
comparedReferenceOptimizer
Returns the value of thecomparedReferenceOptimizerrecord component.- Returns:
- the value of the
comparedReferenceOptimizerrecord component
-
referenceErt
Returns the value of thereferenceErtrecord component.- Returns:
- the value of the
referenceErtrecord component
-
edafErt
Returns the value of theedafErtrecord component.- Returns:
- the value of the
edafErtrecord component
-
ertRatio
Returns the value of theertRatiorecord component.- Returns:
- the value of the
ertRatiorecord component
-