Record Class DesignDecisionRecord.Alternatives
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Alternatives
- Record Components:
frontier- every Pareto-optimal option, best weighted score first, the recommendation includedevaluated- portfolios examinedfeasible- portfolios that satisfied every constraintexact- whether every portfolio in range was examinedconstraints- per constraint, whether it decided the answer and what would be chosen without itnotes- the search's own notes (rejection counts, narrowing)
- Enclosing class:
DesignDecisionRecord
public static record DesignDecisionRecord.Alternatives(List<DesignDecisionRecord.Alternative> frontier, long evaluated, long feasible, boolean exact, List<DesignDecisionRecord.ConstraintEffect> constraints, List<String> notes)
extends Record
The options considered and rejected.
-
Constructor Summary
ConstructorsConstructorDescriptionAlternatives(List<DesignDecisionRecord.Alternative> frontier, long evaluated, long feasible, boolean exact, List<DesignDecisionRecord.ConstraintEffect> constraints, List<String> notes) Copies the collections. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstraintsrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theevaluatedrecord component.booleanexact()Returns the value of theexactrecord component.longfeasible()Returns the value of thefeasiblerecord component.frontier()Returns the value of thefrontierrecord component.final inthashCode()Returns a hash code value for this object.notes()Returns the value of thenotesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Alternatives
public Alternatives(List<DesignDecisionRecord.Alternative> frontier, long evaluated, long feasible, boolean exact, List<DesignDecisionRecord.ConstraintEffect> constraints, List<String> notes) Copies the collections.
-
-
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. -
frontier
-
evaluated
-
feasible
-
exact
-
constraints
Returns the value of theconstraintsrecord component.- Returns:
- the value of the
constraintsrecord component
-
notes
-