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
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to