Record Class SolveRun.Evaluated
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.solve.SolveRun.Evaluated
- Record Components:
portfolio- the metrosvalues- one value per objective, inSolveRun.objectiveIds()order
- Enclosing class:
SolveRun
A portfolio and its raw objective values (NaN = unknown).
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluated(MetroPortfolio portfolio, double[] values) Creates an instance of aEvaluatedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theportfoliorecord component.final StringtoString()Returns a string representation of this record class.double[]values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
portfolio
-
values
-