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

Redesign @CustomShadowVariable and promote ListVariableListener to the public API

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • 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

    Description

      • @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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: