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

## org.drools.planner.core.score.holder
Interface ScoreHolder

All Known Implementing Classes:
  AbstractScoreHolder, HardAndSoftLongScoreHolder, HardAndSoftScoreHolder, SimpleDoubleScoreHolder, SimpleScoreHolder

    public interface ScoreHolder

A workaround class that wraps parts of a `Score`. It injected as a global by `DroolsScoreDirector` in the `WorkingMemory` to avoid a performance problem in Drools Expert with using 2 or more accumulates in the same rule. Other `ScoreDirector` implementations do not use this class.

TODO JBRULES-2238 remove this class when the rule that sums the final score can be written as a single rule and it is dead

Method Summary
`Score` | `extractScore()` Extracts the `Score`, calculated by the `WorkingMemory` for `DroolsScoreDirector`.

Method Detail

### extractScore

    Score extractScore()

  Extracts the `Score`, calculated by the `WorkingMemory` for `DroolsScoreDirector`. Should not be called directly, use `ScoreDirector.calculateScore()` instead.

  Returns:
    never null, the `Score` of the working `Solution`

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