Record Class AlgorithmComparisonRow
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.AlgorithmComparisonRow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.longReturns the value of thecompletedRunsrecord component.final booleanIndicates whether some other object is "equal to" this one.ert()Returns the value of theertrecord component.final inthashCode()Returns a hash code value for this object.meanBest()Returns the value of themeanBestrecord component.Returns the value of themedianBestrecord component.sp1()Returns the value of thesp1record component.stdBest()Returns the value of thestdBestrecord component.longReturns the value of thesuccessfulRunsrecord component.doubleReturns the value of thesuccessRaterecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalRunsrecord component.
-
Constructor Details
-
AlgorithmComparisonRow
public AlgorithmComparisonRow(String algorithm, long totalRuns, long completedRuns, long successfulRuns, double successRate, Double meanBest, Double medianBest, Double stdBest, Double ert, Double sp1) Creates an instance of aAlgorithmComparisonRowrecord class.- Parameters:
algorithm- the value for thealgorithmrecord componenttotalRuns- the value for thetotalRunsrecord componentcompletedRuns- the value for thecompletedRunsrecord componentsuccessfulRuns- the value for thesuccessfulRunsrecord componentsuccessRate- the value for thesuccessRaterecord componentmeanBest- the value for themeanBestrecord componentmedianBest- the value for themedianBestrecord componentstdBest- the value for thestdBestrecord componentert- the value for theertrecord componentsp1- the value for thesp1record 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. -
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord 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
-
meanBest
Returns the value of themeanBestrecord component.- Returns:
- the value of the
meanBestrecord component
-
medianBest
Returns the value of themedianBestrecord component.- Returns:
- the value of the
medianBestrecord component
-
stdBest
Returns the value of thestdBestrecord component.- Returns:
- the value of the
stdBestrecord 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
-