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

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

      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.

            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

              Created:
              Updated:
              Resolved: