[rules-users] Complete Solutions Tabu Question
Steve Ronderos
steve.ronderos at ni.com
Mon Sep 20 14:29:33 EDT 2010
Hello Drools Users.
Do Solution objects need to implement equals() and hashCode() methods in
order to take advantage of the completeSolutionsTabuSize configuration?
I did a little digging through the code and it appears that Solution
objects are being compared with their clones (implicitly that is, they are
being used as map keys). AbstractTabuAcceptor:87
The documentation mentions that moves need to implement equals and
hashCode, but doesn't talk about Solution needing it.
Thanks in advance,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100920/10b6069d/attachment.html
More information about the rules-users
mailing list