[
https://issues.jboss.org/browse/JBRULES-3546?page=com.atlassian.jira.plug...
]
Geoffrey De Smet edited comment on JBRULES-3546 at 7/27/12 7:42 AM:
--------------------------------------------------------------------
Fixed by checking the termination condition in every move: performance impact is
ignorable.
was (Author: ge0ffrey):
Fixed
Planner: Late acceptance and great deluge get stuck in an endless
move iterator loop because there are no acceptable moves
--------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-3546
URL:
https://issues.jboss.org/browse/JBRULES-3546
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Minor
Fix For: 5.5.0.Beta1
Tabu search and simulated annealing don't suffer from this, because they always find
acceptable move(s) sooner or later (TS because it accepts anything that isn't tabu and
SA because every move has a change of being acceptable no matter what).
Late acceptance or great deluge with a moveSelector that is neverEnding (or too big to be
called ending), will result in a never ending Solver because the Termination isn't
checked in the move iterator (which it should... even if that results in a performance
cost :( ).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira