Record Class VorobevResult
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.moocore.VorobevResult
public record VorobevResult(double threshold, double[][] expectation, double averageHypervolume)
extends Record
Vorob'ev threshold, expectation, and average hypervolume.
-
Constructor Summary
ConstructorsConstructorDescriptionVorobevResult(double threshold, double[][] expectation, double averageHypervolume) Creates an instance of aVorobevResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theaverageHypervolumerecord component.final booleanIndicates whether some other object is "equal to" this one.double[][]Returns the value of theexpectationrecord component.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thethresholdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VorobevResult
public VorobevResult(double threshold, double[][] expectation, double averageHypervolume) Creates an instance of aVorobevResultrecord class.- Parameters:
threshold- the value for thethresholdrecord componentexpectation- the value for theexpectationrecord componentaverageHypervolume- the value for theaverageHypervolumerecord component
-
-
Method Details
-
expectation
public double[][] expectation()Returns the value of theexpectationrecord component.- Returns:
- the value of the
expectationrecord component
-
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. -
threshold
public double threshold()Returns the value of thethresholdrecord component.- Returns:
- the value of the
thresholdrecord component
-
averageHypervolume
public double averageHypervolume()Returns the value of theaverageHypervolumerecord component.- Returns:
- the value of the
averageHypervolumerecord component
-