[rules-users] solution equals and hashcode are never called.
Michiel Vermandel
mvermand at yahoo.com
Sat Jan 19 15:08:59 EST 2013
Hi,
I am still struggling to find why my simple unit test cannot be solved to a zero score solution.
It is easily to see the solution on sight and if I feed it with the prepared solution (in a custom solver phase) it "finds" the optimal solution right away.
I'm trying everything and try to review everything I have written.
It is during that review that I noticed that the equals and hashcode methods of my solution implementation class are never called.
Obviously the solutionEquals and solutionHashCode methods of my planning entity are never called either.
What should I conclude out of that?
Is this a crucial issue? If so, what should I check/change?
I am running Drools Planner 5.5.0.Final on java 1.7.0 on a Windows 7 64bit machine.
Thanks,
Michiel Vermandel
-----------------
http://www.codessentials.com - Your essential software, for free!
Follow us at http://twitter.com/#!/Codessentials
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130119/386e1d65/attachment.html
More information about the rules-users
mailing list