isFeasible() up to Score.@Deprecated 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, which are always feasible.Score| Modifier and Type | Method and Description |
|---|---|
boolean |
isFeasible()
Deprecated.
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, withInitScorecompareToboolean isFeasible()
PlanningSolution is feasible if it has no broken hard constraints
and Score.isSolutionInitialized() is true.isFeasible in interface Score<S extends FeasibilityScore>Score.getInitScore() is 0.Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.