OptaPlanner distribution 6.2.1-SNAPSHOT

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

All Superinterfaces:
ScoreDefinition<S>
All Known Implementing Classes:
AbstractFeasibilityScoreDefinition, BendableBigDecimalScoreDefinition, BendableLongScoreDefinition, 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()

OptaPlanner distribution 6.2.1-SNAPSHOT

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