Files
ortools-clone/docs/java/SolutionCallback_8java_source.html

116 lines
33 KiB
HTML
Raw Normal View History

2020-01-31 17:05:16 +01:00
<!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"/>-->
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
2020-09-01 16:00:33 +02:00
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="styleSheet.tmp.css" rel="stylesheet" type="text/css"/>
2020-01-31 17:05:16 +01:00
</head>
<body>
<div id="banner-container">
<div id="banner">
2021-12-14 13:41:01 +01:00
<span id="sfml">Google OR-Tools 9.2</span>
2020-01-31 17:05:16 +01:00
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>Java Reference</h2>
<ul>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1sat.html">CP-SAT</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1graph.html">Graph</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1algorithms.html">Knapsack solver</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1linearsolver.html">Linear solver</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1constraintsolver.html">Routing</a></li>
<li><a href="../java/namespacecom_1_1google_1_1ortools_1_1util.html">Util</a></li>
</ul>
</div>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">Java Reference</h1>
</div>
2022-01-16 18:02:36 +01:00
<!-- Generated by Doxygen 1.8.15 -->
2020-09-01 16:00:33 +02:00
<script type="text/javascript">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
2020-09-01 16:00:33 +02:00
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2020-09-01 16:00:33 +02:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-01-16 18:02:36 +01:00
/* @license-end */</script>
2020-09-01 16:00:33 +02:00
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
2020-01-31 17:05:16 +01:00
</div>
</div>
2020-09-01 16:00:33 +02:00
<script type="text/javascript">
2022-01-16 18:02:36 +01:00
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('SolutionCallback_8java_source.html','');});
2020-09-01 16:00:33 +02:00
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
2020-01-31 17:05:16 +01:00
<div class="header">
2022-01-16 18:02:36 +01:00
<div class="headertitle">
<div class="title">SolutionCallback.java</div> </div>
2020-01-31 17:05:16 +01:00
</div><!--header-->
<div class="contents">
2022-01-16 18:02:36 +01:00
<a href="SolutionCallback_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>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<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>&#160;<span class="comment"> * Version 4.0.1</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</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="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * the SWIG interface file instead.</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * ----------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="keyword">package </span>com.google.ortools.sat;</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"><a class="line" href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html"> 11</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html">SolutionCallback</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; <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>&#160; <span class="keyword">protected</span> <span class="keyword">transient</span> <span class="keywordtype">boolean</span> swigCMemOwn;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#adc5e9ebf1cd913d3e4a1574c0598bba2"> 15</a></span>&#160; <span class="keyword">public</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#adc5e9ebf1cd913d3e4a1574c0598bba2">SolutionCallback</a>(<span class="keywordtype">long</span> cPtr, <span class="keywordtype">boolean</span> cMemoryOwn) {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; swigCMemOwn = cMemoryOwn;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; swigCPtr = cPtr;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; }</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keyword">protected</span> <span class="keyword">static</span> <span class="keywordtype">long</span> getCPtr(<a class="code" href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html">SolutionCallback</a> obj) {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keywordflow">return</span> (obj == <span class="keyword">null</span>) ? 0 : obj.swigCPtr;</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; }</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; @SuppressWarnings(<span class="stri
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a4cb3ffdfd02cc63f767833ed23e89c81"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a4cb3ffdfd02cc63f767833ed23e89c81">com.google.ortools.sat.SolutionCallback.onSolutionCallback</a></div><div class="ttdeci">void onSolutionCallback()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00054">SolutionCallback.java:54</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a8d58b3cd19362b51664bed47ee703388"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a8d58b3cd19362b51664bed47ee703388">com.google.ortools.sat.SolutionCallback.stopSearch</a></div><div class="ttdeci">void stopSearch()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00102">SolutionCallback.java:102</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_aeb590aba470ae6ec1e69cdad7bb5961c"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#aeb590aba470ae6ec1e69cdad7bb5961c">com.google.ortools.sat.SolutionCallback.swigDirectorDisconnect</a></div><div class="ttdeci">void swigDirectorDisconnect()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00039">SolutionCallback.java:39</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a71489e94aa126da236972db0ade7229a"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a71489e94aa126da236972db0ade7229a">com.google.ortools.sat.SolutionCallback.swigReleaseOwnership</a></div><div class="ttdeci">void swigReleaseOwnership()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00044">SolutionCallback.java:44</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a24ff656d03a79c7ef64220d1be95eb49"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a24ff656d03a79c7ef64220d1be95eb49">com.google.ortools.sat.SolutionCallback.numBinaryPropagations</a></div><div class="ttdeci">long numBinaryPropagations()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00070">SolutionCallback.java:70</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a54291a58693b5c6c428dc90e2a5e2805"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a54291a58693b5c6c428dc90e2a5e2805">com.google.ortools.sat.SolutionCallback.numBooleans</a></div><div class="ttdeci">long numBooleans()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00058">SolutionCallback.java:58</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a6eba1a016a99e80decec8801337f35de"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a6eba1a016a99e80decec8801337f35de">com.google.ortools.sat.SolutionCallback.numBranches</a></div><div class="ttdeci">long numBranches()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00062">SolutionCallback.java:62</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a192d2a91adc9495a4109c494f976ee4d"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a192d2a91adc9495a4109c494f976ee4d">com.google.ortools.sat.SolutionCallback.objectiveValue</a></div><div class="ttdeci">double objectiveValue()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00086">SolutionCallback.java:86</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a3d16eb05922bf42e541c5cc331679ef1"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a3d16eb05922bf42e541c5cc331679ef1">com.google.ortools.sat.SolutionCallback.solutionIntegerValue</a></div><div class="ttdeci">long solutionIntegerValue(int index)</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00094">SolutionCallback.java:94</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_adc5e9ebf1cd913d3e4a1574c0598bba2"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#adc5e9ebf1cd913d3e4a1574c0598bba2">com.google.ortools.sat.SolutionCallback.SolutionCallback</a></div><div class="ttdeci">SolutionCallback(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00015">SolutionCallback.java:15</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a4af26d80226f86e735c6b0038ae881ed"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a4af26d80226f86e735c6b0038ae881ed">com.google.ortools.sat.SolutionCallback.SolutionCallback</a></div><div class="ttdeci">SolutionCallback()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00106">SolutionCallback.java:106</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a3675e4eff4f3825c371d8afaa003d365"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a3675e4eff4f3825c371d8afaa003d365">com.google.ortools.sat.SolutionCallback.bestObjectiveBound</a></div><div class="ttdeci">double bestObjectiveBound()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00090">SolutionCallback.java:90</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a963b901c7681493ccc15bc769a397be5"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a963b901c7681493ccc15bc769a397be5">com.google.ortools.sat.SolutionCallback.numConflicts</a></div><div class="ttdeci">long numConflicts()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00066">SolutionCallback.java:66</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_aa54eaab55cd90ff5be7e1c63ec1fd587"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#aa54eaab55cd90ff5be7e1c63ec1fd587">com.google.ortools.sat.SolutionCallback.numIntegerPropagations</a></div><div class="ttdeci">long numIntegerPropagations()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00074">SolutionCallback.java:74</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html">com.google.ortools.sat.SolutionCallback</a></div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00011">SolutionCallback.java:11</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a1cd8aaaecd8d26aeb54f5503a459b1d9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a1cd8aaaecd8d26aeb54f5503a459b1d9">com.google.ortools.sat.SolutionCallback.userTime</a></div><div class="ttdeci">double userTime()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00082">SolutionCallback.java:82</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_a50aaa4b1d065156a10cdf6689d6f141f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#a50aaa4b1d065156a10cdf6689d6f141f">com.google.ortools.sat.SolutionCallback.solutionBooleanValue</a></div><div class="ttdeci">boolean solutionBooleanValue(int index)</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00098">SolutionCallback.java:98</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback_html_ad4b835b84e76e8d03a518291271069a9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1sat_1_1SolutionCallback.html#ad4b835b84e76e8d03a518291271069a9">com.google.ortools.sat.SolutionCallback.swigTakeOwnership</a></div><div class="ttdeci">void swigTakeOwnership()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8java_source.html#l00049">SolutionCallback.java:49</a></div></div>
2021-01-26 11:28:50 +01:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2020-01-31 17:05:16 +01:00
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>