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

Generic move factories should be able to scale to more moves than the memory can accomodate and still support random selection

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 5.5.0.Final
    • None
    • optaplanner-core
    • None

    Description

      Generic move factories should really be just a MoveSelector instead.

      A MoveFactory is just a user-friendly interface, wrapped by a MoveFactorySelector.

      But a true Selector can be made much more powerful:

      • randomizeType: NONE, GENERATE_ALL_AND_RANDOMIZE, RANDOM_SELECT_WITHOUT_COMPLETENESS, ...
      • terminate aware
      • filterable (includes, excludes)
      • otherwise configurable

      Completeness is the effect that randomly selecting n moves from a selector with n moves will have selected all moves exactly once.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: