Record Class SensitivityReport.NearestAlternative
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.solve.SensitivityReport.NearestAlternative
- Record Components:
portfolio- its keydistance- Euclidean distance over the objectives' 0..100 scoresdeltas- per objective, its raw value minus the recommendation's (in the objective's unit); absent when either value is unknown
- Enclosing class:
SensitivityReport
-
Constructor Summary
ConstructorsConstructorDescriptionNearestAlternative(String portfolio, double distance, Map<String, Double> deltas) Makes the map immutable. -
Method Summary
Modifier and TypeMethodDescriptiondeltas()Returns the value of thedeltasrecord component.doubledistance()Returns the value of thedistancerecord component.final 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.
-
Constructor Details
-
NearestAlternative
-
-
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. -
portfolio
-
distance
-
deltas
-