public interface SolutionCloner<SolutionG extends Solution>
Solution
during planning.
Used to remember the state of a good Solution
so it can be recalled at a later then
when the original Solution
is already modified.
Also used in population based heuristics to increase or repopulate the population.
Planning cloning is hard: avoid doing it yourself.
Modifier and Type | Method and Description |
---|---|
SolutionG |
cloneSolution(SolutionG original)
Does a planning clone.
|
SolutionG cloneSolution(SolutionG original)
Solution
clone must fulfill these requirements:
original
.
Solution
,
the original Solution
must remain unchanged.Copyright © 2006–2015 JBoss by Red Hat. All rights reserved.