public static class RoutingModel.NodeNeighborsByCostClass
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
NodeNeighborsByCostClass() |
NodeNeighborsByCostClass(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
ComputeNeighbors(RoutingModel routing_model,
int num_neighbors,
boolean add_vehicle_starts_to_neighbors)
Computes num_neighbors neighbors of all nodes for every cost class in
routing_model. |
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(RoutingModel.NodeNeighborsByCostClass obj) |
int[] |
GetNeighborsOfNodeForCostClass(int cost_class,
int node_index)
Returns the neighbors of the given node for the given cost_class.
|
static long |
swigRelease(RoutingModel.NodeNeighborsByCostClass obj) |
public NodeNeighborsByCostClass(long cPtr,
boolean cMemoryOwn)
public NodeNeighborsByCostClass()
public static long getCPtr(RoutingModel.NodeNeighborsByCostClass obj)
public static long swigRelease(RoutingModel.NodeNeighborsByCostClass obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public void ComputeNeighbors(RoutingModel routing_model, int num_neighbors, boolean add_vehicle_starts_to_neighbors)
public int[] GetNeighborsOfNodeForCostClass(int cost_class,
int node_index)
Copyright © 2024. All rights reserved.