Solution_
- the solution type, the class with the PlanningSolution
annotationpublic interface ScoreManager<Solution_>
Score
, ConstraintMatchTotal
,
Indictment
, etc.
To create a ScoreManager, use create(SolverFactory)
.
These methods are thread-safe unless explicitly stated otherwise.
Modifier and Type | Method and Description |
---|---|
static <Solution_> |
create(SolverFactory<Solution_> solverFactory)
Uses a
SolverFactory to build a ScoreManager . |
void |
updateScore(Solution_ solution)
|
static <Solution_> ScoreManager<Solution_> create(SolverFactory<Solution_> solverFactory)
SolverFactory
to build a ScoreManager
.Solution_
- the solution type, the class with the PlanningSolution
annotationsolverFactory
- never nullvoid updateScore(Solution_ solution)
solution
- never nullCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.