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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • Future
    • None
    • optaplanner-core
    • None

      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.

              rsynek@redhat.com Radovan Synek (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: