88 lines
33 KiB
HTML
88 lines
33 KiB
HTML
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
|
<meta name="generator" content="Doxygen 1.8.15"/>
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
|
|
<title>OR-Tools: MinCostFlow.java Source File</title>
|
||
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
|
<link href="ortools.css" rel="stylesheet" type="text/css"/>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
|
<div id="titlearea">
|
||
|
|
<table cellspacing="0" cellpadding="0">
|
||
|
|
<tbody>
|
||
|
|
<tr style="height: 56px;">
|
||
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
||
|
|
<div id="projectname">OR-Tools
|
||
|
|
 <span id="projectnumber">7.1</span>
|
||
|
|
</div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<!-- end header part -->
|
||
|
|
<!-- Generated by Doxygen 1.8.15 -->
|
||
|
|
<div id="navrow1" class="tabs">
|
||
|
|
<ul class="tablist">
|
||
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
|
<li><a href="pages.html"><span>Related Pages</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 List</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_82da1734a9cb0f1cf40dbd95c2117ce5.html">com</a></li><li class="navelem"><a class="el" href="dir_1713cbfcde5229f242ac28be432e77c9.html">google</a></li><li class="navelem"><a class="el" href="dir_06c320066273db25e45ae140036401c9.html">ortools</a></li><li class="navelem"><a class="el" href="dir_ea218e7dae74866c095640201ac868f7.html">graph</a></li> </ul>
|
||
|
|
</div>
|
||
|
|
</div><!-- top -->
|
||
|
|
<div class="header">
|
||
|
|
<div class="headertitle">
|
||
|
|
<div class="title">MinCostFlow.java</div> </div>
|
||
|
|
</div><!--header-->
|
||
|
|
<div class="contents">
|
||
|
|
<a href="MinCostFlow_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * This file was automatically generated by SWIG (http://www.swig.org).</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Version 3.0.12</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <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="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * the SWIG interface file instead.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * ----------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">package </span>com.google.ortools.graph;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html"> 11</a></span> <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html">MinCostFlow</a> <span class="keyword">extends</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase.html">MinCostFlowBase</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">private</span> <span class="keyword">transient</span> <span class="keywordtype">long</span> swigCPtr;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ad58b119eaf20047121d87ecca64d3f86"> 14</a></span>  <span class="keyword">protected</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ad58b119eaf20047121d87ecca64d3f86">MinCostFlow</a>(<span class="keywordtype">long</span> cPtr, <span class="keywordtype">boolean</span> cMemoryOwn) {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  super(mainJNI.MinCostFlow_SWIGUpcast(cPtr), cMemoryOwn);</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  swigCPtr = cPtr;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  }</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ab6ae9f5b5a2d0e4a223ef70f93dbe577"> 19</a></span>  <span class="keyword">protected</span> <span class="keyword">static</span> <span class="keywordtype">long</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ab6ae9f5b5a2d0e4a223ef70f93dbe577">getCPtr</a>(<a class="code" href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html">MinCostFlow</a> obj) {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordflow">return</span> (obj == <span class="keyword">null</span>) ? 0 : obj.swigCPtr;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  }</div><div class="line"><a name="l000
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_ade1b0fd8d9f603341149ae272dc9e4f4"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ade1b0fd8d9f603341149ae272dc9e4f4">com.google.ortools.graph.MinCostFlow.getNumArcs</a></div><div class="ttdeci">int getNumArcs()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00074">MinCostFlow.java:74</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a97156aa1a0acc96900b2529b21ecbb15"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a97156aa1a0acc96900b2529b21ecbb15">com.google.ortools.graph.MinCostFlow.getHead</a></div><div class="ttdeci">int getHead(int arc)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00082">MinCostFlow.java:82</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a0d36983c7cb8288cdfeb40183fc2c9f6"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a0d36983c7cb8288cdfeb40183fc2c9f6">com.google.ortools.graph.MinCostFlow.getUnitCost</a></div><div class="ttdeci">long getUnitCost(int arc)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00094">MinCostFlow.java:94</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_ab7d259c619b96d82c978e39cc8811fd7"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ab7d259c619b96d82c978e39cc8811fd7">com.google.ortools.graph.MinCostFlow.MinCostFlow</a></div><div class="ttdeci">MinCostFlow()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00038">MinCostFlow.java:38</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_html_a4866e5ae87e7978b1de2c57f18998702"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase.html#a4866e5ae87e7978b1de2c57f18998702">com.google.ortools.graph.MinCostFlowBase.swigCMemOwn</a></div><div class="ttdeci">transient boolean swigCMemOwn</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlowBase_8java_source.html#l00013">MinCostFlowBase.java:13</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html">com.google.ortools.graph.MinCostFlow</a></div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00011">MinCostFlow.java:11</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a0d33c3904319e807c36e6849d95ddffd"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a0d33c3904319e807c36e6849d95ddffd">com.google.ortools.graph.MinCostFlow.getSupply</a></div><div class="ttdeci">long getSupply(int node)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00090">MinCostFlow.java:90</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_acdabd06e250a7192d22674f10372c59f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#acdabd06e250a7192d22674f10372c59f">com.google.ortools.graph.MinCostFlow.finalize</a></div><div class="ttdeci">void finalize()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00023">MinCostFlow.java:23</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase.html">com.google.ortools.graph.MinCostFlowBase</a></div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlowBase_8java_source.html#l00011">MinCostFlowBase.java:11</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_af2d7ab5e3c73bdea2643f24505e0da7d"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#af2d7ab5e3c73bdea2643f24505e0da7d">com.google.ortools.graph.MinCostFlow.getMaximumFlow</a></div><div class="ttdeci">long getMaximumFlow()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00062">MinCostFlow.java:62</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a9e1183c7be8da35a772b826548740b66"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a9e1183c7be8da35a772b826548740b66">com.google.ortools.graph.MinCostFlow.setNodeSupply</a></div><div class="ttdeci">void setNodeSupply(int node, long supply)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00046">MinCostFlow.java:46</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a7118aed132acad59f5411c476c37ad35"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a7118aed132acad59f5411c476c37ad35">com.google.ortools.graph.MinCostFlow.getCapacity</a></div><div class="ttdeci">long getCapacity(int arc)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00086">MinCostFlow.java:86</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_ad58b119eaf20047121d87ecca64d3f86"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ad58b119eaf20047121d87ecca64d3f86">com.google.ortools.graph.MinCostFlow.MinCostFlow</a></div><div class="ttdeci">MinCostFlow(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00014">MinCostFlow.java:14</a></div></div>
|
||
|
|
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_1_1Status_html_afd104d7c4bbb193f41b11ea11f13fbeb"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_1_1Status.html#afd104d7c4bbb193f41b11ea11f13fbeb">com.google.ortools.graph.MinCostFlowBase.Status.swigToEnum</a></div><div class="ttdeci">static Status swigToEnum(int swigValue)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlowBase_8java_source.html#l00055">MinCostFlowBase.java:55</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_abffcd0f8f5749092b5687b0a16ad6d6e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#abffcd0f8f5749092b5687b0a16ad6d6e">com.google.ortools.graph.MinCostFlow.solveMaxFlowWithMinCost</a></div><div class="ttdeci">MinCostFlowBase.Status solveMaxFlowWithMinCost()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00054">MinCostFlow.java:54</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a643ae87deb18826ec8e57012ce9baba4"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a643ae87deb18826ec8e57012ce9baba4">com.google.ortools.graph.MinCostFlow.getNumNodes</a></div><div class="ttdeci">int getNumNodes()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00070">MinCostFlow.java:70</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_a83a56f8b86332b57edee2f161fec1481"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#a83a56f8b86332b57edee2f161fec1481">com.google.ortools.graph.MinCostFlow.getFlow</a></div><div class="ttdeci">long getFlow(int arc)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00066">MinCostFlow.java:66</a></div></div>
|
||
|
|
<div class="ttc" id="enumcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_1_1Status_html"><div class="ttname"><a href="enumcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlowBase_1_1Status.html">com.google.ortools.graph.MinCostFlowBase.Status</a></div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlowBase_8java_source.html#l00042">MinCostFlowBase.java:42</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_aa1354d5dbe8571816402f70c1098efc9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#aa1354d5dbe8571816402f70c1098efc9">com.google.ortools.graph.MinCostFlow.getOptimalCost</a></div><div class="ttdeci">long getOptimalCost()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00058">MinCostFlow.java:58</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_ad1d596d03974911dc0a63f9bd0594424"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#ad1d596d03974911dc0a63f9bd0594424">com.google.ortools.graph.MinCostFlow.getTail</a></div><div class="ttdeci">int getTail(int arc)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00078">MinCostFlow.java:78</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_aae2773f21306c4c1ad15a8a7fd7d193b"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#aae2773f21306c4c1ad15a8a7fd7d193b">com.google.ortools.graph.MinCostFlow.addArcWithCapacityAndUnitCost</a></div><div class="ttdeci">int addArcWithCapacityAndUnitCost(int tail, int head, long capacity, long unit_cost)</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00042">MinCostFlow.java:42</a></div></div>
|
||
|
|
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow_html_afe8e3af7fd7cd59374eb5357176f777e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1graph_1_1MinCostFlow.html#afe8e3af7fd7cd59374eb5357176f777e">com.google.ortools.graph.MinCostFlow.solve</a></div><div class="ttdeci">MinCostFlowBase.Status solve()</div><div class="ttdef"><b>Definition:</b> <a href="MinCostFlow_8java_source.html#l00050">MinCostFlow.java:50</a></div></div>
|
||
|
|
</div><!-- fragment --></div><!-- contents -->
|
||
|
|
<!-- start footer part -->
|
||
|
|
<hr class="footer"/><address class="footer"><small>
|
||
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
|
</a> 1.8.15
|
||
|
|
</small></address>
|
||
|
|
</body>
|
||
|
|
</html>
|