|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SolutionDirector
A SolutionDirector hold a workingSolution and directs the Rule Engine to calculate the Score
of that Solution.
| Method Summary | |
|---|---|
Score |
calculateScoreFromWorkingMemory()
Calculates the and updates the workingSolution accordingly. |
org.drools.WorkingMemory |
getWorkingMemory()
|
Solution |
getWorkingSolution()
The Solution that is used in the WorkingMemory. |
| Method Detail |
|---|
Solution getWorkingSolution()
Solution that is used in the WorkingMemory.
If the Solution has been changed since calculateScoreFromWorkingMemory() has been called,
the Solution.getScore() of this Solution won't be correct.
org.drools.WorkingMemory getWorkingMemory()
Score calculateScoreFromWorkingMemory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||