public interface SolutionCloner<Solution_ 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 |
---|---|
Solution_ |
cloneSolution(Solution_ original)
Does a planning clone.
|
Solution_ cloneSolution(Solution_ original)
Solution
clone must fulfill these requirements:
original
.
Solution
,
the original Solution
must remain unchanged.Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.