[jboss-jira] [JBoss JIRA] Created: (JBRULES-2703) AllBestSolutionsRecaller: Drools Planner should support returning all the solutions with the same best score found during solving, not just the first

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Sun Sep 19 04:29:28 EDT 2010


AllBestSolutionsRecaller: Drools Planner should support returning all the solutions with the same best score found during solving, not just the first
-----------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBRULES-2703
                 URL: https://jira.jboss.org/browse/JBRULES-2703
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-planner
    Affects Versions: 5.1.1.FINAL
            Reporter: Geoffrey De Smet
            Assignee: Geoffrey De Smet
             Fix For: 5.2.0.M1


Extra method on Solver: getBestSolutions().
Maybe rename BestSolutionRecaller to AllBestSolutionsRecaller? I wouldn't keep the first if a couple experiments should little or no performance degradation due to the hashing of each solution step (especially in sim ann).

What do we do with Solver.getBestSolution()?
Proposition 1: remove it
Proposition 2: keep it and return getBestSolutions().get(0)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list