Class RoutingModel.PickupDeliveryPosition

  • Enclosing class:
    RoutingModel

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

      • swigCMemOwn

        protected transient boolean swigCMemOwn
    • Constructor Detail

      • PickupDeliveryPosition

        public PickupDeliveryPosition​(long cPtr,
                                      boolean cMemoryOwn)
      • PickupDeliveryPosition

        public PickupDeliveryPosition()
    • Method Detail

      • finalize

        protected void finalize()
        Overrides:
        finalize in class java.lang.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.