Class RoutingModel.PickupDeliveryPosition
- java.lang.Object
-
- com.google.ortools.constraintsolver.RoutingModel.PickupDeliveryPosition
-
- Enclosing class:
- RoutingModel
public static class RoutingModel.PickupDeliveryPosition extends java.lang.ObjectThe position of a node in the set of pickup and delivery pairs.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Constructor Description PickupDeliveryPosition()PickupDeliveryPosition(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()intgetAlternative_index()The index of the node in the vector of pickup (resp.static longgetCPtr(RoutingModel.PickupDeliveryPosition obj)intgetPd_pair_index()The index of the pickup and delivery pair within which the node appears.voidsetAlternative_index(int value)The index of the node in the vector of pickup (resp.voidsetPd_pair_index(int value)The index of the pickup and delivery pair within which the node appears.static longswigRelease(RoutingModel.PickupDeliveryPosition obj)
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(RoutingModel.PickupDeliveryPosition obj)
-
swigRelease
public static long swigRelease(RoutingModel.PickupDeliveryPosition obj)
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.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.
-
-