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 TypeMethodDescriptionvoid
delete()
protected void
finalize()
int
The index of the node in the vector of pickup (resp. delivery)
alternatives of the pair.static long
int
The index of the pickup and delivery pair within which the node appears.void
setAlternative_index
(int value) The index of the node in the vector of pickup (resp. delivery)
alternatives of the pair.void
setPd_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
-
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.
-