Record Class IraceProgressDetails
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.controller.dto.IraceProgressDetails
public record IraceProgressDetails(int nbIterations, int maxExperiments, int experimentsUsed, int remainingBudget, boolean remainingBudgetEstimated, int currentBudget, int currentBudgetUsed, double maxTime, double timeUsed, Double remainingTime, Double boundEstimate)
extends Record
Progress counters reported by IRACE after an iteration.
Unknown properties are ignored so adding a counter in IRACE does not break existing Mork versions.
-
Constructor Summary
ConstructorsConstructorDescriptionIraceProgressDetails(int nbIterations, int maxExperiments, int experimentsUsed, int remainingBudget, boolean remainingBudgetEstimated, int currentBudget, int currentBudgetUsed, double maxTime, double timeUsed, Double remainingTime, Double boundEstimate) Creates an instance of aIraceProgressDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboundEstimaterecord component.intReturns the value of thecurrentBudgetrecord component.intReturns the value of thecurrentBudgetUsedrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexperimentsUsedrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxExperimentsrecord component.doublemaxTime()Returns the value of themaxTimerecord component.intReturns the value of thenbIterationsrecord component.intReturns the value of theremainingBudgetrecord component.booleanReturns the value of theremainingBudgetEstimatedrecord component.Returns the value of theremainingTimerecord component.doubletimeUsed()Returns the value of thetimeUsedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IraceProgressDetails
public IraceProgressDetails(int nbIterations, int maxExperiments, int experimentsUsed, int remainingBudget, boolean remainingBudgetEstimated, int currentBudget, int currentBudgetUsed, double maxTime, double timeUsed, Double remainingTime, Double boundEstimate) Creates an instance of aIraceProgressDetailsrecord class.- Parameters:
nbIterations- the value for thenbIterationsrecord componentmaxExperiments- the value for themaxExperimentsrecord componentexperimentsUsed- the value for theexperimentsUsedrecord componentremainingBudget- the value for theremainingBudgetrecord componentremainingBudgetEstimated- the value for theremainingBudgetEstimatedrecord componentcurrentBudget- the value for thecurrentBudgetrecord componentcurrentBudgetUsed- the value for thecurrentBudgetUsedrecord componentmaxTime- the value for themaxTimerecord componenttimeUsed- the value for thetimeUsedrecord componentremainingTime- the value for theremainingTimerecord componentboundEstimate- the value for theboundEstimaterecord 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. -
nbIterations
public int nbIterations()Returns the value of thenbIterationsrecord component.- Returns:
- the value of the
nbIterationsrecord component
-
maxExperiments
public int maxExperiments()Returns the value of themaxExperimentsrecord component.- Returns:
- the value of the
maxExperimentsrecord component
-
experimentsUsed
public int experimentsUsed()Returns the value of theexperimentsUsedrecord component.- Returns:
- the value of the
experimentsUsedrecord component
-
remainingBudget
public int remainingBudget()Returns the value of theremainingBudgetrecord component.- Returns:
- the value of the
remainingBudgetrecord component
-
remainingBudgetEstimated
public boolean remainingBudgetEstimated()Returns the value of theremainingBudgetEstimatedrecord component.- Returns:
- the value of the
remainingBudgetEstimatedrecord component
-
currentBudget
public int currentBudget()Returns the value of thecurrentBudgetrecord component.- Returns:
- the value of the
currentBudgetrecord component
-
currentBudgetUsed
public int currentBudgetUsed()Returns the value of thecurrentBudgetUsedrecord component.- Returns:
- the value of the
currentBudgetUsedrecord component
-
maxTime
public double maxTime()Returns the value of themaxTimerecord component.- Returns:
- the value of the
maxTimerecord component
-
timeUsed
public double timeUsed()Returns the value of thetimeUsedrecord component.- Returns:
- the value of the
timeUsedrecord component
-
remainingTime
Returns the value of theremainingTimerecord component.- Returns:
- the value of the
remainingTimerecord component
-
boundEstimate
Returns the value of theboundEstimaterecord component.- Returns:
- the value of the
boundEstimaterecord component
-