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

IncrementalScoreCalculator support for problem fact add/change/remove

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • optaplanner-core
    • NEW
    • NEW

      At the moment, IncrementalScoreCalculator does not have the following methods:

      beforeProblemFactAdded/after...
      beforeProblemFactRemoved/after...
      beforeProblemPropertyRemoved/after...

      Instead, the IncrementalScoreDirector calls resetWorkingSolution(...), which is inefficient.
      Unfortunately, we can not fix this in 8.x, as we can not add new methods to the interface - even of they had default implementations, we can not have these implementations call resetWorkingSolution(...), as we do not have access to the working solution.

      Therefore this goes on the backlog for 9.0.

            Unassigned Unassigned
            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: