[jboss-jira] [JBoss JIRA] (JBRULES-3334) AbstractTabuAcceptor doesn't add the starting solution as tabu

Patrik Dufresne (Created) (JIRA) jira-events at lists.jboss.org
Thu Jan 5 13:41:09 EST 2012


AbstractTabuAcceptor doesn't add the starting solution as tabu
--------------------------------------------------------------

                 Key: JBRULES-3334
                 URL: https://issues.jboss.org/browse/JBRULES-3334
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-planner
    Affects Versions: 5.3.1.Final
            Reporter: Patrik Dufresne
            Assignee: Mark Proctor


When setting a complete solution tabu, the starting solution is not considered a Tabu making it possible to visit the same solution again.

Consider a situation where there is construction phase followed by a local search phase. The construction phase will create a solution that will not be added to the tabu list of the local search phased.

To fix it, I suggest to override the function phaseStarted(...) in SolutionTabuAcceptor to add solution to the Tabu map.

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