Op 27-02-13 19:50, Michiel Vermandel
schreef:
Hi,
I think a planning solution gets cloned in two different
scenarios:
1) a better solution is found
2) the solver propagates from one solving phase to another.
Is this right?
Currently this is right IIRC. But mix in multi-threading for 6.1 or
6.2 and there will be more cases of cloning.
If so, how do I know (inside the cloneSolution() method) if the
clone is intended for a best-solution or a new working-solution?
Why would you need to know that? Would it alter your cloning
behavior somehow?
It's probably hackable through BestSolutionRecaller, but it will
give you a hard time when upgrading to 6.0 if you do hack it there.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users