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

Redesign @CustomShadowVariable and promote ListVariableListener to the public API

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Blocker Blocker
    • 8.29.0.Final
    • None
    • optaplanner-core
    • None
    • 2022 Week 29-31 (from Jul 18), 2022 Week 38-40 (from Sept 19), 2022 Week 41-43 (from Oct 10)
    • NEW
    • NEW

      • @CustomShadowVariable must be able to accept a class implementing the ListVariableListener interface.
      • ListVariableListener will be moved to the org.optaplanner.core.api.domain.variable package.
      • before/after list variable changed methods will be promoted to ScoreDirector to enable custom moves that modify list variables.
      • Checks must be put in place to fail fast if a custom EvilListMove breaks the disjoint list invariant.
      • IncrementalScoreCalculator should mimic the listener/director API as well (PLANNER-2711).

              jlocker Jiří Locker (Inactive)
              jlocker Jiří Locker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: