Record Class ExperimentRunItem

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

public record ExperimentRunItem(String runId, long seed, String status, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, Long runtimeMillis, String resumedFrom, String errorMessage) extends Record
One run row within a specific experiment.
  • Constructor Details

    • ExperimentRunItem

      public ExperimentRunItem(String runId, long seed, String status, String startTime, String endTime, Integer iterations, Long evaluations, Double bestFitness, Long runtimeMillis, String resumedFrom, String errorMessage)
      Creates an instance of a ExperimentRunItem record class.
      Parameters:
      runId - the value for the runId record component
      seed - the value for the seed record component
      status - the value for the status record component
      startTime - the value for the startTime record component
      endTime - the value for the endTime record component
      iterations - the value for the iterations record component
      evaluations - the value for the evaluations record component
      bestFitness - the value for the bestFitness record component
      runtimeMillis - the value for the runtimeMillis record component
      resumedFrom - the value for the resumedFrom record component
      errorMessage - the value for the errorMessage 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.
    • runId

      public String runId()
      Returns the value of the runId record component.
      Returns:
      the value of the runId record component
    • seed

      public long seed()
      Returns the value of the seed record component.
      Returns:
      the value of the seed record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • startTime

      public String startTime()
      Returns the value of the startTime record component.
      Returns:
      the value of the startTime record component
    • endTime

      public String endTime()
      Returns the value of the endTime record component.
      Returns:
      the value of the endTime record component
    • iterations

      public Integer iterations()
      Returns the value of the iterations record component.
      Returns:
      the value of the iterations record component
    • evaluations

      public Long evaluations()
      Returns the value of the evaluations record component.
      Returns:
      the value of the evaluations record component
    • bestFitness

      public Double bestFitness()
      Returns the value of the bestFitness record component.
      Returns:
      the value of the bestFitness record component
    • runtimeMillis

      public Long runtimeMillis()
      Returns the value of the runtimeMillis record component.
      Returns:
      the value of the runtimeMillis record component
    • resumedFrom

      public String resumedFrom()
      Returns the value of the resumedFrom record component.
      Returns:
      the value of the resumedFrom record component
    • errorMessage

      public String errorMessage()
      Returns the value of the errorMessage record component.
      Returns:
      the value of the errorMessage record component