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

Rename locateWorkingObject() to lookUpWorkingObject(), relocate() to rebase() and Locator to LookUpManager

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta7
    • None
    • optaplanner-core
    • None
    • NEW
    • NEW

      before 7.0.0.CR1!

      rebase SwapMove(A, C) to '
      register.lookUpWorkingObject(A) returns A'
      register.lookUpWorkingObject(C) returns C'
      return SwapMove (A', C')

      Register or WorkingRegister or WorkingObjectRegister, ...

      Another jiri's suggestion: PLANNING_ID_OR_NONE → PLANNING_ID_OPTIONAL and PLANNING_ID_OR_FAIL_FAST → PLANNING_ID_REQUIRED
      Update: I decided not to go with this extra suggestion, because we might have PLANNING_ID_OR_EQUALS and PLANNING_ID_OR_EQUALS_OR_NONE someday too.

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

                Created:
                Updated:
                Resolved: