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

(Pillar)SwapMoveSelectorConfig: Wrap <variableNameInclude> in <variableNameIncludes> (8.0)

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Optional
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Future
    • Component/s: optaplanner-core
    • Labels:
      None

      Description

      Motivation: make the configs for move selectors more consistent.

      Use

          @XStreamAlias("variableNameIncludes")
          @XStreamConverter(value = NamedCollectionConverter.class,
                  strings = {"variableNameInclude"}, types = {String.class}, useImplicitType = false)
          private List<String> variableNameIncludeList = null;
      

      to get

      <variableNameIncludes>
        <variableNameInclude>period</variableNameInclude>
        <variableNameInclude>room</variableNameInclude>
      </variableNameIncludes>
      

      This is a backwards incompatible change, so wait (a few years?) until 8.0 at least.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rsynek Radovan Synek
                  Reporter:
                  ge0ffrey Geoffrey De Smet
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: