Files
ortools-clone/docs/dotnet/RoutingIndexManager_8cs_source.html

78 lines
35 KiB
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
<link rel="stylesheet" type="text/css" href="ortools.css" title="default" media="screen,print" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
</head>
<body>
<div id="banner-container">
<div id="banner">
2019-06-29 18:18:08 +02:00
<span id="sfml">OR-Tools 7.2</span>
</div>
</div>
2019-06-29 18:18:08 +02:00
<link rel="icon" href="https://developers.google.com/optimization/images/orLogo.png">
<div id="content">
<!-- Generated by Doxygen 1.8.15 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a7cc1eeded8f693d0da6c729bc88c45a.html">ortools</a></li><li class="navelem"><a class="el" href="dir_b2c6d49957bf5d0c7726edb4b829cd4d.html">gen</a></li><li class="navelem"><a class="el" href="dir_dd9e6105f85b4b8d1432afc92516bdf4.html">ortools</a></li><li class="navelem"><a class="el" href="dir_37019ba8edd362d5e2e12880bdfa4c61.html">constraint_solver</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">RoutingIndexManager.cs</div> </div>
</div><!--header-->
<div class="contents">
2019-06-29 18:18:08 +02:00
<a href="RoutingIndexManager_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// &lt;auto-generated /&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// This file was automatically generated by SWIG (http://www.swig.org).</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// Version 4.0.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// Do not make changes to this file unless you know what you are doing--modify</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// the SWIG interface file instead.</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceGoogle_1_1OrTools_1_1ConstraintSolver.html">Google.OrTools.ConstraintSolver</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="keyword">using</span> System;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="keyword">using</span> System.Runtime.<a class="code" href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keyword">using</span> System.Collections;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">using</span> System.Collections.Generic;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html"> 18</a></span>&#160;<span class="keyword">public</span> <span class="keyword">partial class </span><a class="code" href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html">RoutingIndexManager</a> : global::System.IDisposable {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keyword">private</span> global::System.Runtime.InteropServices.HandleRef swigCPtr;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#aabd6fb8f29b0f591000dfdb72e703f07"> 20</a></span>&#160; <span class="keyword">protected</span> <span class="keywordtype">bool</span> <a class="code" href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#aabd6fb8f29b0f591000dfdb72e703f07">swigCMemOwn</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keyword">internal</span> <a class="code" href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html">RoutingIndexManager</a>(global::System.IntPtr cPtr, <span class="keywordtype">bool</span> cMemoryOwn) {</div><div class="line"><a name=
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_ae4c03d510ddd046f84bfea2ab5e09912"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#ae4c03d510ddd046f84bfea2ab5e09912">Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfIndices</a></div><div class="ttdeci">int GetNumberOfIndices()</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00068">RoutingIndexManager.cs:68</a></div></div>
<div class="ttc" id="namespaceSystem_1_1Runtime_1_1InteropServices_html"><div class="ttname"><a href="namespaceSystem_1_1Runtime_1_1InteropServices.html">InteropServices</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_ad6293e50481e5608d5abc2cb2d3651c7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#ad6293e50481e5608d5abc2cb2d3651c7">Google.OrTools.ConstraintSolver.RoutingIndexManager.RoutingIndexManager</a></div><div class="ttdeci">RoutingIndexManager(int num_nodes, int num_vehicles, int[] starts, int[] ends)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00055">RoutingIndexManager.cs:55</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_a34d8defebffc1defef5a3db67d24d64f"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#a34d8defebffc1defef5a3db67d24d64f">Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfNodes</a></div><div class="ttdeci">int GetNumberOfNodes()</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00058">RoutingIndexManager.cs:58</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_ada65c0832cc6fc8347e1184cb8adfed3"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#ada65c0832cc6fc8347e1184cb8adfed3">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingIndexManager_GetNumberOfVehicles</a></div><div class="ttdeci">static int RoutingIndexManager_GetNumberOfVehicles(global::System.Runtime.InteropServices.HandleRef jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_ac6d2645494b05391b11027a13ef1fc1d"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#ac6d2645494b05391b11027a13ef1fc1d">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingIndexManager_NodesToIndices</a></div><div class="ttdeci">static global::System.IntPtr RoutingIndexManager_NodesToIndices(global::System.Runtime.InteropServices.HandleRef jarg1, int length2, int[] jarg2)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector.html">Google.OrTools.ConstraintSolver.CpInt64Vector</a></div><div class="ttdef"><b>Definition:</b> <a href="CpInt64Vector_8cs_source.html#l00018">CpInt64Vector.cs:18</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector_html_a7f78c98d569f9c51645c476ea2add76b"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector.html#a7f78c98d569f9c51645c476ea2add76b">Google.OrTools.ConstraintSolver.CpInt64Vector.CopyTo</a></div><div class="ttdeci">void CopyTo(long[] array)</div><div class="ttdef"><b>Definition:</b> <a href="CpInt64Vector_8cs_source.html#l00113">CpInt64Vector.cs:113</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_a5efd1d47139d5852ff81b0eaa6ef44a7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#a5efd1d47139d5852ff81b0eaa6ef44a7">Google.OrTools.ConstraintSolver.RoutingIndexManager.Dispose</a></div><div class="ttdeci">virtual void Dispose(bool disposing)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00040">RoutingIndexManager.cs:40</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector_html_a36328f49840c3fb73c52305909a1c3f9"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1CpInt64Vector.html#a36328f49840c3fb73c52305909a1c3f9">Google.OrTools.ConstraintSolver.CpInt64Vector.Count</a></div><div class="ttdeci">int Count</div><div class="ttdef"><b>Definition:</b> <a href="CpInt64Vector_8cs_source.html#l00101">CpInt64Vector.cs:101</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_abf73921c09c113844ad53ff23fde5904"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#abf73921c09c113844ad53ff23fde5904">Google.OrTools.ConstraintSolver.RoutingIndexManager.NodeToIndex</a></div><div class="ttdeci">long NodeToIndex(int node)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00073">RoutingIndexManager.cs:73</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html">Google.OrTools.ConstraintSolver.RoutingIndexManager</a></div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00018">RoutingIndexManager.cs:18</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_afa1fbc25a43c3167c494cb834f059c64"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#afa1fbc25a43c3167c494cb834f059c64">Google.OrTools.ConstraintSolver.RoutingIndexManager.RoutingIndexManager</a></div><div class="ttdeci">RoutingIndexManager(int num_nodes, int num_vehicles, int depot)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00052">RoutingIndexManager.cs:52</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_aabd6fb8f29b0f591000dfdb72e703f07"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#aabd6fb8f29b0f591000dfdb72e703f07">Google.OrTools.ConstraintSolver.RoutingIndexManager.swigCMemOwn</a></div><div class="ttdeci">bool swigCMemOwn</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00020">RoutingIndexManager.cs:20</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_a73532fcd3b9c51484737f7c5163cbaa4"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#a73532fcd3b9c51484737f7c5163cbaa4">Google.OrTools.ConstraintSolver.RoutingIndexManager.IndexToNode</a></div><div class="ttdeci">int IndexToNode(long index)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00090">RoutingIndexManager.cs:90</a></div></div>
<div class="ttc" id="namespaceGoogle_1_1OrTools_1_1ConstraintSolver_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools_1_1ConstraintSolver.html">Google.OrTools.ConstraintSolver</a></div><div class="ttdef"><b>Definition:</b> <a href="Assignment_8cs_source.html#l00011">Assignment.cs:11</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_a74c22afaf69b97f93a08e60e412f6a5c"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#a74c22afaf69b97f93a08e60e412f6a5c">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.delete_RoutingIndexManager</a></div><div class="ttdeci">static void delete_RoutingIndexManager(global::System.Runtime.InteropServices.HandleRef jarg1)</div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_a6fdc9dced452d6b973838ed444f37306"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#a6fdc9dced452d6b973838ed444f37306">Google.OrTools.ConstraintSolver.RoutingIndexManager.Dispose</a></div><div class="ttdeci">void Dispose()</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00035">RoutingIndexManager.cs:35</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_abd1b625ce8e7e67c9851c64c96c858b9"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#abd1b625ce8e7e67c9851c64c96c858b9">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingIndexManager_GetNumberOfNodes</a></div><div class="ttdeci">static int RoutingIndexManager_GetNumberOfNodes(global::System.Runtime.InteropServices.HandleRef jarg1)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_a0083a9565488679d532b865994c48c94"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#a0083a9565488679d532b865994c48c94">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingIndexManager_NodeToIndex</a></div><div class="ttdeci">static long RoutingIndexManager_NodeToIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)</div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_aebf2fca753a1066f76419c15b7af79fb"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#aebf2fca753a1066f76419c15b7af79fb">Google.OrTools.ConstraintSolver.RoutingIndexManager.GetNumberOfVehicles</a></div><div class="ttdeci">int GetNumberOfVehicles()</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00063">RoutingIndexManager.cs:63</a></div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html_a3f5e0ceac1e7217db988e20434a8f9e2"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html#a3f5e0ceac1e7217db988e20434a8f9e2">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RoutingIndexManager_IndexToNode</a></div><div class="ttdeci">static int RoutingIndexManager_IndexToNode(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)</div></div>
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1operations__research__constraint__solverPINVOKE.html">Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE</a></div><div class="ttdef"><b>Definition:</b> <a href="operations__research__constraint__solverPINVOKE_8cs_source.html#l00047">operations_research_constraint_solverPINVOKE.cs:47</a></div></div>
2019-06-29 18:18:08 +02:00
<div class="ttc" id="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager_html_a8c45aadc3f31b186ce0d1e2a5fa0ef82"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1ConstraintSolver_1_1RoutingIndexManager.html#a8c45aadc3f31b186ce0d1e2a5fa0ef82">Google.OrTools.ConstraintSolver.RoutingIndexManager.NodesToIndices</a></div><div class="ttdeci">long [] NodesToIndices(int[] nodes)</div><div class="ttdef"><b>Definition:</b> <a href="RoutingIndexManager_8cs_source.html#l00078">RoutingIndexManager.cs:78</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>