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

TailChainSwapMove should be able to select all possible tail chain swaps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • optaplanner-core
    • None
    • 5
    • NEW
    • NEW

      TailChainSwapMoveSelectorConfig needs to have 2 valueSelectorConfigs instead of a entity and a value selector, so it can select a move that swaps 2 arcs in the same chain (so same anchor) for which the leftEntity is null (think of it being the anchor). Now that's only possible with the rightEntity being null, but that means that it's always the non-anchor side that's being reversed, never the anchor side.

      Pitfalls:

      • nearby selection
      • pinning

            cchianel Christopher Chianelli
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: