[
https://issues.jboss.org/browse/JBRULES-2213?page=com.atlassian.jira.plug...
]
Geoffrey De Smet edited comment on JBRULES-2213 at 8/6/12 8:58 AM:
-------------------------------------------------------------------
This issue is partially obsolete now that using minimalAcceptedSelection, which means this
can only occur if there are no accepted moves at all (of ALL possible moves).
Fixing this in 2 ways:
- If all moves have been tried and the forager doesn't have an accepted move, it WARNs
and returns the best unaccepted move.
- If the decider returns a null nextStep (which basically means there are no moves at
all), the local search phase will terminate itself.
was (Author: ge0ffrey):
This issue is partially obsolete now that using minimalAcceptedSelection, which means
this can only occur if there are no accepted moves at all (of ALL possible moves).
Fixing this in 2 ways:
- If all moves have been tried and the forager doesn't have an accepted move, it WARNs
and returns the best unaccepted move.
- If the decider returns a null nextStep (which basically means there are no moves at
all), the local search solver will terminate itself.
Planner:When there isn't an accepted move to pick, the
DefaultLocalSearchSolver shouldn't terminate by exception but pick an unaccepted,
doable move. Unless there are no doable moves, then it should terminate early.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2213
URL:
https://issues.jboss.org/browse/JBRULES-2213
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-planner
Affects Versions: 5.0.1.FINAL
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Priority: Critical
a random bad relativeSelection could select only moves that are tabu
that no reason to stop, because the next relativeSelection could be great.
--
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