OptaPlanner core 6.2.0.CR2

Interface FeasibilityScore<S extends FeasibilityScore>

All Superinterfaces:
Comparable<S>, Score<S>
All Known Implementing Classes:
BendableBigDecimalScore, BendableScore, HardMediumSoftLongScore, HardMediumSoftScore, HardSoftBigDecimalScore, HardSoftDoubleScore, HardSoftLongScore, HardSoftScore

public interface FeasibilityScore<S extends FeasibilityScore>
extends Score<S>

A Score that supports isFeasible(). Most Score implementations implement this interface (including HardSoftScore, except for SimpleScore variants.

See Also:

Method Summary
 boolean isFeasible()
          A Solution is feasible if it has no broken hard constraints.
Methods inherited from interface org.optaplanner.core.api.score.Score
add, divide, isCompatibleArithmeticArgument, multiply, negate, power, subtract, toLevelNumbers
Methods inherited from interface java.lang.Comparable

Method Detail


boolean isFeasible()
A Solution is feasible if it has no broken hard constraints.

true if the hard score(s) is 0 or higher

OptaPlanner core 6.2.0.CR2

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.