9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
24 @SuppressWarnings(
"deprecation")
29 public synchronized void delete() {
33 mainJNI.delete_RoutingIndexManager(swigCPtr);
40 this(mainJNI.new_RoutingIndexManager__SWIG_0(num_nodes, num_vehicles, depot),
true);
44 this(mainJNI.new_RoutingIndexManager__SWIG_1(num_nodes, num_vehicles, starts, ends),
true);
48 return mainJNI.RoutingIndexManager_getNumberOfNodes(swigCPtr,
this);
52 return mainJNI.RoutingIndexManager_getNumberOfVehicles(swigCPtr,
this);
56 return mainJNI.RoutingIndexManager_getNumberOfIndices(swigCPtr,
this);
60 return mainJNI.RoutingIndexManager_nodeToIndex(swigCPtr,
this, node);
64 return mainJNI.RoutingIndexManager_nodesToIndices(swigCPtr,
this, nodes);
68 return mainJNI.RoutingIndexManager_indexToNode(swigCPtr,
this, index);