Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Drools Planner distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.drools.planner.core.score
Interface FeasibilityScore<S extends FeasibilityScore>

All Superinterfaces:
  Comparable<S>, Score<S>

All Known Implementing Classes:
  BendableScore, HardMediumSoftScore, HardSoftBigDecimalScore, HardSoftDoubleScore, HardSoftLongScore, HardSoftScore

    public interface FeasibilityScore<S extends FeasibilityScore>

extends Score<S>

A `Score` that supports `isFeasible()`.

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

Methods inherited from interface org.drools.planner.core.score.Score
`add, divide, multiply, subtract, toDoubleLevels`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### isFeasible

    boolean isFeasible()

  A `Solution` is feasible if it has no broken hard constraints.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Drools Planner distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.