Solution_
- the solution type, the class with the PlanningSolution
annotationpublic interface SolutionPartitioner<Solution_>
solution
into multiple partitions.
The partitions are solved and merged based on the PlanningSolution.lookUpStrategyType()
.
To add custom properties, configure custom properties and add public setters for them.
Modifier and Type | Method and Description |
---|---|
List<Solution_> |
splitWorkingSolution(ScoreDirector<Solution_> scoreDirector,
Integer runnablePartThreadLimit)
Returns a list of partition cloned
solutions
for which each planning entity
is partition cloned into exactly 1 of those partitions. |
List<Solution_> splitWorkingSolution(ScoreDirector<Solution_> scoreDirector, Integer runnablePartThreadLimit)
solutions
for which each planning entity
is partition cloned into exactly 1 of those partitions.
Problem facts can be multiple partitions (with our without cloning).
Any class that is solution cloned
must also be partitioned cloned.
A class can be partition cloned without being solution cloned.
scoreDirector
- never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution()
that needs to be split uprunnablePartThreadLimit
- null if unlimited, never negativeList.size()
of at least 1.Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.