image/svg+xml
www.optaplanner.org
www.optaplanner.org
en
Move rebase decision
How is a Move rebased to the state of another Thread?
Rebase Movefrom this thread to another thread:create new Move of the same type.
Does original Move containanother object reference?
[No]
[Yes]
Which look up strategy?
[equality] [class has planning id]
Determine look up strategyfrom the class of that reference.
[class is immutable]
Look up other instance in map with reference as key.Use it in the new move.
Look up other instance in map with planning id as key.Use it in the new move.
Use same reference instance in the new move.