Definition at line 2021 of file RoutingModel.java.
◆ NodeNeighborsByCostClass() [1/2]
com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.NodeNeighborsByCostClass |
( |
long | cPtr, |
|
|
boolean | cMemoryOwn ) |
◆ NodeNeighborsByCostClass() [2/2]
com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.NodeNeighborsByCostClass |
( |
RoutingModel | routing_model | ) |
|
◆ ComputeNeighbors()
void com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.ComputeNeighbors |
( |
RoutingModel.NodeNeighborsParameters | params | ) |
|
Computes num_neighbors neighbors of all nodes for every cost class in
routing_model.
Definition at line 2069 of file RoutingModel.java.
◆ delete()
synchronized void com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.delete |
( |
| ) |
|
◆ finalize()
void com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.finalize |
( |
| ) |
|
|
protected |
◆ getCPtr()
◆ GetIncomingNeighborsOfNodeForCostClass()
int[] com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.GetIncomingNeighborsOfNodeForCostClass |
( |
int | cost_class, |
|
|
int | node_index ) |
Returns the incoming neighbors of the given node for the given
cost_class, i.e. all 'neighbor' indices such that neighbor -> node_index
is a neighborhood arc for 'cost_class'.
Definition at line 2078 of file RoutingModel.java.
◆ GetOutgoingNeighborsOfNodeForCostClass()
int[] com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.GetOutgoingNeighborsOfNodeForCostClass |
( |
int | cost_class, |
|
|
int | node_index ) |
Returns the neighbors that are outgoing from 'node_index', i.e.
'neighbor' indices such that node_index -> neighbor is a neighborhood
arc for 'cost_class'.
Definition at line 2087 of file RoutingModel.java.
◆ IsNeighborhoodArcForCostClass()
boolean com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.IsNeighborhoodArcForCostClass |
( |
int | cost_class, |
|
|
long | from, |
|
|
long | to ) |
Returns true iff arc from_node -> to_node is a neighborhood arc for the
given cost_class, i.e. iff arc.to_node is an outgoing neighbor of
arc.from_node for 'cost_class'.
Definition at line 2096 of file RoutingModel.java.
◆ swigRelease()
long com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.swigRelease |
( |
NodeNeighborsByCostClass | obj | ) |
|
|
static |
◆ swigCMemOwn
transient boolean com.google.ortools.constraintsolver.RoutingModel.NodeNeighborsByCostClass.swigCMemOwn |
|
protected |
The documentation for this class was generated from the following file:
- build/java/ortools-java/src/main/java/com/google/ortools/constraintsolver/RoutingModel.java