Class RoutingModel.PickupDeliveryPosition

java.lang.Object
com.google.ortools.constraintsolver.RoutingModel.PickupDeliveryPosition
Enclosing class:
RoutingModel

public static class RoutingModel.PickupDeliveryPosition extends Object
The position of a node in the set of pickup and delivery pairs.
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • PickupDeliveryPosition

      public PickupDeliveryPosition(long cPtr, boolean cMemoryOwn)
    • PickupDeliveryPosition

      public PickupDeliveryPosition()
  • Method Details

    • getCPtr

      public static long getCPtr(RoutingModel.PickupDeliveryPosition obj)
    • swigRelease

      public static long swigRelease(RoutingModel.PickupDeliveryPosition obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • delete

      public void delete()
    • setPd_pair_index

      public void setPd_pair_index(int value)
      The index of the pickup and delivery pair within which the node appears.
    • getPd_pair_index

      public int getPd_pair_index()
      The index of the pickup and delivery pair within which the node appears.
    • setAlternative_index

      public void setAlternative_index(int value)
      The index of the node in the vector of pickup (resp. delivery)
      alternatives of the pair.
    • getAlternative_index

      public int getAlternative_index()
      The index of the node in the vector of pickup (resp. delivery)
      alternatives of the pair.