Record Class ExperimentRunItem
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ExperimentRunItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebestFitnessrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.Returns the value of theevaluationsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theiterationsrecord component.Returns the value of theresumedFromrecord component.runId()Returns the value of therunIdrecord component.Returns the value of theruntimeMillisrecord component.longseed()Returns the value of theseedrecord component.Returns the value of thestartTimerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aExperimentRunItemrecord class.- Parameters:
runId- the value for therunIdrecord componentseed- the value for theseedrecord componentstatus- the value for thestatusrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentiterations- the value for theiterationsrecord componentevaluations- the value for theevaluationsrecord componentbestFitness- the value for thebestFitnessrecord componentruntimeMillis- the value for theruntimeMillisrecord componentresumedFrom- the value for theresumedFromrecord componenterrorMessage- the value for theerrorMessagerecord 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. -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
seed
public long seed()Returns the value of theseedrecord component.- Returns:
- the value of the
seedrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
iterations
Returns the value of theiterationsrecord component.- Returns:
- the value of the
iterationsrecord component
-
evaluations
Returns the value of theevaluationsrecord component.- Returns:
- the value of the
evaluationsrecord component
-
bestFitness
Returns the value of thebestFitnessrecord component.- Returns:
- the value of the
bestFitnessrecord component
-
runtimeMillis
Returns the value of theruntimeMillisrecord component.- Returns:
- the value of the
runtimeMillisrecord component
-
resumedFrom
Returns the value of theresumedFromrecord component.- Returns:
- the value of the
resumedFromrecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-