Record Class FindmaxConfig
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.findmax.FindmaxConfig
-
Constructor Summary
ConstructorsConstructorDescriptionFindmaxConfig(double sample_time_ms, double max_value, double base_value, double contra_base_value, double min_value, double step_value, double value_incr, double sample_incr, long min_settling_ms, long min_frames, String optimization_type, double[] initial_point) Creates an instance of aFindmaxConfigrecord class.FindmaxConfig(NBCommandParams params) -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thebase_valuerecord component.doubleReturns the value of thecontra_base_valuerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.double[]Returns the value of theinitial_pointrecord component.double[]doubleReturns the value of themax_valuerecord component.longReturns the value of themin_framesrecord component.longReturns the value of themin_settling_msrecord component.doubleReturns the value of themin_valuerecord component.Returns the value of theoptimization_typerecord component.doubleReturns the value of thesample_incrrecord component.doubleReturns the value of thesample_time_msrecord component.doubleReturns the value of thestep_valuerecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of thevalue_incrrecord component.
-
Constructor Details
-
FindmaxConfig
-
FindmaxConfig
public FindmaxConfig(double sample_time_ms, double max_value, double base_value, double contra_base_value, double min_value, double step_value, double value_incr, double sample_incr, long min_settling_ms, long min_frames, String optimization_type, double[] initial_point) Creates an instance of aFindmaxConfigrecord class.- Parameters:
sample_time_ms- the value for thesample_time_msrecord componentmax_value- the value for themax_valuerecord componentbase_value- the value for thebase_valuerecord componentcontra_base_value- the value for thecontra_base_valuerecord componentmin_value- the value for themin_valuerecord componentstep_value- the value for thestep_valuerecord componentvalue_incr- the value for thevalue_incrrecord componentsample_incr- the value for thesample_incrrecord componentmin_settling_ms- the value for themin_settling_msrecord componentmin_frames- the value for themin_framesrecord componentoptimization_type- the value for theoptimization_typerecord componentinitial_point- the value for theinitial_pointrecord component
-
-
Method Details
-
initialPoint
public double[] initialPoint() -
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. -
sample_time_ms
public double sample_time_ms()Returns the value of thesample_time_msrecord component.- Returns:
- the value of the
sample_time_msrecord component
-
max_value
public double max_value()Returns the value of themax_valuerecord component.- Returns:
- the value of the
max_valuerecord component
-
base_value
public double base_value()Returns the value of thebase_valuerecord component.- Returns:
- the value of the
base_valuerecord component
-
contra_base_value
public double contra_base_value()Returns the value of thecontra_base_valuerecord component.- Returns:
- the value of the
contra_base_valuerecord component
-
min_value
public double min_value()Returns the value of themin_valuerecord component.- Returns:
- the value of the
min_valuerecord component
-
step_value
public double step_value()Returns the value of thestep_valuerecord component.- Returns:
- the value of the
step_valuerecord component
-
value_incr
public double value_incr()Returns the value of thevalue_incrrecord component.- Returns:
- the value of the
value_incrrecord component
-
sample_incr
public double sample_incr()Returns the value of thesample_incrrecord component.- Returns:
- the value of the
sample_incrrecord component
-
min_settling_ms
public long min_settling_ms()Returns the value of themin_settling_msrecord component.- Returns:
- the value of the
min_settling_msrecord component
-
min_frames
public long min_frames()Returns the value of themin_framesrecord component.- Returns:
- the value of the
min_framesrecord component
-
optimization_type
Returns the value of theoptimization_typerecord component.- Returns:
- the value of the
optimization_typerecord component
-
initial_point
public double[] initial_point()Returns the value of theinitial_pointrecord component.- Returns:
- the value of the
initial_pointrecord component
-