[jboss-jira] [JBoss JIRA] (JBRULES-3535) Planner: DistinctMoveSelector

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Fri Jun 8 04:36:17 EDT 2012


Geoffrey De Smet created JBRULES-3535:
-----------------------------------------

             Summary: Planner: DistinctMoveSelector
                 Key: JBRULES-3535
                 URL: https://issues.jboss.org/browse/JBRULES-3535
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-planner
            Reporter: Geoffrey De Smet
            Assignee: Geoffrey De Smet
            Priority: Minor


A shuffled move selector needs to cache, causing memory problems.
A just-in-time random move selector might produce duplicates.

Solution: put a DistinctMoveSelector in front of the just-in-time random move selector so it filters out moves that have already been iterated.
Note: make sure it's cleared properly during round-robin selection over multiple steps.

--
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