Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.impl.score.definition
Interface FeasibilityScoreDefinition<S extends FeasibilityScore>

All Superinterfaces:
  ScoreDefinition<S>

All Known Implementing Classes:
  AbstractFeasibilityScoreDefinition, BendableScoreDefinition, HardMediumSoftLongScoreDefinition, HardMediumSoftScoreDefinition, HardSoftBigDecimalScoreDefinition, HardSoftDoubleScoreDefinition, HardSoftLongScoreDefinition, HardSoftScoreDefinition

    public interface FeasibilityScoreDefinition<S extends FeasibilityScore>

extends ScoreDefinition<S>

Method Summary
`int` | `getFeasibleLevelsSize()` Returns the number of levels of `Score.toLevelNumbers()`.

Methods inherited from interface org.optaplanner.core.impl.score.definition.ScoreDefinition
`buildOptimisticBound, buildPessimisticBound, buildScoreHolder, formatScore, getLevelsSize, getScoreClass, parseScore`

Method Detail

### getFeasibleLevelsSize

    int getFeasibleLevelsSize()

  Returns the number of levels of `Score.toLevelNumbers()`. that are used to determine `FeasibilityScore.isFeasible()`.

  Returns:
    at least 0, at most `ScoreDefinition.getLevelsSize()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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