Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta3
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
`double` | `calculateFeasibilityTimeGradient(S startScore, S score)` Calculates time gradient for feasible score.

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

Method Detail

### calculateFeasibilityTimeGradient

    double calculateFeasibilityTimeGradient(S startScore,
                                            S score)

  Calculates time gradient for feasible score. For further details, see explanation in `Termination#calculateSolverTimeGradient(DefaultSolverScope)`.

  Parameters:
    `startScore` - never null
  Returns:
    time gradient between 0.0 and 1.0

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.Beta3
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.