Class FLPAddNeigh.AddMove

Enclosing class:
FLPAddNeigh

public static class FLPAddNeigh.AddMove extends FLPMove
  • Constructor Details

    • AddMove

      public AddMove(FLPSolution solution, int rowIdx, int pos, int facility, double cost)
    • AddMove

      public AddMove(FLPSolution solution, int rowIdx, int pos, int facility)
  • Method Details

    • pos

      public int pos()
    • rowIdx

      public int rowIdx()
    • facility

      public int facility()
    • _execute

      protected FLPSolution _execute(FLPSolution solution)
      Description copied from class: Move
      Executes the proposed move, to be implemented by each move type
      Specified by:
      _execute in class Move<FLPSolution, FLPInstance>
    • toString

      public String toString()
      Description copied from class: Move
      Returns a String representation of the current movement. Tip: Default IDEs implementations are usually fine
      Overrides:
      toString in class FLPMove
      Returns:
      human readable string
    • equals

      public boolean equals(Object o)
      Description copied from class: Move
      Specified by:
      equals in class FLPMove
    • hashCode

      public int hashCode()
      Description copied from class: Move
      Specified by:
      hashCode in class FLPMove