[jboss-jira] [JBoss JIRA] Created: (JBRULES-3007) Planner: tabu size is not respected when there are multiple tabus per property tabu

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Mon May 2 05:11:18 EDT 2011


Planner: tabu size is not respected when there are multiple tabus per property tabu
-----------------------------------------------------------------------------------

                 Key: JBRULES-3007
                 URL: https://issues.jboss.org/browse/JBRULES-3007
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-planner
            Reporter: Geoffrey De Smet
            Assignee: Geoffrey De Smet


This code is the problem in AbstractTabuAcceptor:

while (tabuSequenceList.size() >= maximumTabuListSize) {

Consider these moves:
move 1 (tabu A, tabu B, tabu C)
move 2 (tabu D, tabu E, tabu F, tabu G)
move 3 (tabu A, tabu B)

and a tabu move size of 4, then move 3 isn't seen as tabu with move 1, while it should be!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list