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 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 a CocoAggregateRow record class.
      Parameters:
      campaignId - the value for the campaignId record component
      optimizerId - the value for the optimizerId record component
      dimension - the value for the dimension record component
      targetValue - the value for the targetValue record component
      meanEvaluationsToTarget - the value for the meanEvaluationsToTarget record component
      successRate - the value for the successRate record component
      medianBestFitness - the value for the medianBestFitness record component
      comparedReferenceOptimizer - the value for the comparedReferenceOptimizer record component
      referenceErt - the value for the referenceErt record component
      edafErt - the value for the edafErt record component
      ertRatio - the value for the ertRatio 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.
    • campaignId

      public String campaignId()
      Returns the value of the campaignId record component.
      Returns:
      the value of the campaignId record component
    • optimizerId

      public String optimizerId()
      Returns the value of the optimizerId record component.
      Returns:
      the value of the optimizerId record component
    • dimension

      public int dimension()
      Returns the value of the dimension record component.
      Returns:
      the value of the dimension record component
    • targetValue

      public double targetValue()
      Returns the value of the targetValue record component.
      Returns:
      the value of the targetValue record component
    • meanEvaluationsToTarget

      public Double meanEvaluationsToTarget()
      Returns the value of the meanEvaluationsToTarget record component.
      Returns:
      the value of the meanEvaluationsToTarget record component
    • successRate

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

      public Double medianBestFitness()
      Returns the value of the medianBestFitness record component.
      Returns:
      the value of the medianBestFitness record component
    • comparedReferenceOptimizer

      public String comparedReferenceOptimizer()
      Returns the value of the comparedReferenceOptimizer record component.
      Returns:
      the value of the comparedReferenceOptimizer record component
    • referenceErt

      public Double referenceErt()
      Returns the value of the referenceErt record component.
      Returns:
      the value of the referenceErt record component
    • edafErt

      public Double edafErt()
      Returns the value of the edafErt record component.
      Returns:
      the value of the edafErt record component
    • ertRatio

      public Double ertRatio()
      Returns the value of the ertRatio record component.
      Returns:
      the value of the ertRatio record component