[jboss-jira] [JBoss JIRA] (JBRULES-2213) When the decider doesn't pick a move, the DefaultLocalSearchSolver shouldn't terminate by exception by try again, especially with relativeSelection on

Geoffrey De Smet (Commented) (JIRA) jira-events at lists.jboss.org
Fri Oct 14 04:43:16 EDT 2011


    [ https://issues.jboss.org/browse/JBRULES-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634792#comment-12634792 ] 

Geoffrey De Smet commented on JBRULES-2213:
-------------------------------------------

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.


                
> When the decider doesn't pick a move, the DefaultLocalSearchSolver shouldn't terminate by exception by try again, especially with relativeSelection on
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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

        


More information about the jboss-jira mailing list