public interface ScoreBounder
| Modifier and Type | Method and Description |
|---|---|
Score |
calculateOptimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.
|
Score |
calculatePessimisticBound(ScoreDirector scoreDirector,
Score score)
In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.
|
Score calculateOptimisticBound(ScoreDirector scoreDirector, Score score)
Score, calling it lower bound would be a contradiction.scoreDirector - never null, use ScoreDirector.getWorkingSolution() to get the working Solutionscore - never null, the Score of the working SolutionScore we can get
by initializing the uninitialized variables of the working Solution.Score calculatePessimisticBound(ScoreDirector scoreDirector, Score score)
Score, calling it upper bound would be a contradiction.scoreDirector - never null, use ScoreDirector.getWorkingSolution() to get the working Solutionscore - never null, the Score of the working SolutionScore we can get
by initializing the uninitialized variables of the working Solution.Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.