public interface FeasibilityScore<S extends FeasibilityScore> extends Score<S>
Score
that supports isFeasible()
.
Most Score
implementations implement this interface (including HardSoftScore
),
except for SimpleScore
variants.Score
Modifier and Type | Method and Description |
---|---|
boolean |
isFeasible()
A
PlanningSolution is feasible if it has no broken hard constraints
and Score.isSolutionInitialized() is true. |
add, divide, getInitScore, isCompatibleArithmeticArgument, isSolutionInitialized, multiply, negate, power, subtract, toInitializedScore, toLevelNumbers, toShortString, withInitScore
compareTo
boolean isFeasible()
PlanningSolution
is feasible if it has no broken hard constraints
and Score.isSolutionInitialized()
is true.Score.getInitScore()
is 0.Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.