Class RoutingModel.PickupDeliveryPosition
java.lang.Object
com.google.ortools.constraintsolver.RoutingModel.PickupDeliveryPosition
- Enclosing class:
- RoutingModel
The position of a node in the set of pickup and delivery pairs.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()intThe index of the node in the vector of pickup (resp.static longintThe 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 long
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
PickupDeliveryPosition
public PickupDeliveryPosition(long cPtr, boolean cMemoryOwn) -
PickupDeliveryPosition
public PickupDeliveryPosition()
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize() -
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.
-