Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-88

Planner: score calculation with plain old Java

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 5.4.0.Final
    • None
    • optaplanner-core
    • None

    Description

      Provide an plain old java alternative to score calculations, so the user has choice (= freedom):

      • A) Drools score calculation (default). Does incremental calculation automatically, without extra code.
      • B) Java non-incremental score calculation. Very easy to reuse existing score code, but not fast.
      • C) Java incremental score calculation. Requires incremental boilerplate code, but experiments show that in some use cases (with little rules) it can be a 100 times faster than A) with drools 5.3. Note that undo-then and JIT compiling might change that number drastically in future drools versions.

      Technically, it's a matter of overwriting SolutionDirector. For C) we'll also need to adjust the Move and ProblemFactChange interface accordingly.

      Attachments

        Issue Links

          Activity

            People

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: