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

119 lines
37 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">
2019-06-13 02:45:44 +02:00
<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"/>
</head>
<body>
<div id="banner-container">
<div id="banner">
2021-09-20 15:57:27 +02:00
<span id="sfml">Google OR-Tools 9.1</span>
</div>
</div>
2019-08-07 18:01:08 -07:00
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
2019-08-12 09:16:03 -07:00
<h2>Java Reference</h2>
2019-08-07 18:01:08 -07:00
<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">
2019-08-07 18:01:08 -07:00
<div align="center">
<h1 style="color: #145A32;">Java Reference</h1>
</div>
2021-09-20 15:57:27 +02:00
<!-- Generated by Doxygen 1.8.15 -->
2020-09-01 16:00:33 +02:00
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<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">
2019-06-13 02:45:44 +02:00
</div>
</div>
2020-09-01 16:00:33 +02:00
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
2021-09-20 15:57:27 +02:00
$(document).ready(function(){initNavTree('RegularLimit_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>
2019-06-13 02:45:44 +02:00
<div class="header">
<div class="headertitle">
<div class="title">RegularLimit.java</div> </div>
</div><!--header-->
<div class="contents">
2021-09-20 15:57:27 +02:00
<a href="RegularLimit_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.constraintsolver;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html"> 14</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html">RegularLimit</a> <span class="keyword">extends</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1SearchLimit.html">SearchLimit</a> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; <span class="keyword">private</span> <span class="keyword">transient</span> <span class="keywordtype">long</span> swigCPtr;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#af70fdafc08394a2f99a9a59ccc90cf65"> 17</a></span>&#160; <span class="keyword">protected</span> <a class="code" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#af70fdafc08394a2f99a9a59ccc90cf65">RegularLimit</a>(<span class="keywordtype">long</span> cPtr, <span class="keywordtype">boolean</span> cMemoryOwn) {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; super(mainJNI.RegularLimit_SWIGUpcast(cPtr), cMemoryOwn);</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; swigCPtr = cPtr;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; }</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">protected</span> <span class="keyword">static</span> <span class="keywordtype">long</span> getCPtr(<a class="code" href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html">RegularLimit</a> obj) {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordflow">return</span> (obj == <span class="keyword">null</span>) ? 0 : obj.swigCPtr;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; }</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; @SuppressWarnings(<span class
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1SearchLimit_html_ae65fe4ac54ef0975415c4a73f2ea45b3"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1SearchLimit.html#ae65fe4ac54ef0975415c4a73f2ea45b3">com.google.ortools.constraintsolver.SearchLimit.SearchLimit</a></div><div class="ttdeci">SearchLimit(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="SearchLimit_8java_source.html#l00017">SearchLimit.java:17</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_afbcaa77df983d28708ff6cc6911ddab1"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#afbcaa77df983d28708ff6cc6911ddab1">com.google.ortools.constraintsolver.RegularLimit.exitSearch</a></div><div class="ttdeci">void exitSearch()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00068">RegularLimit.java:68</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_adf64be0277a81a3b66a78d0b1bd1fad9"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#adf64be0277a81a3b66a78d0b1bd1fad9">com.google.ortools.constraintsolver.RegularLimit.accept</a></div><div class="ttdeci">void accept(ModelVisitor visitor)</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00104">RegularLimit.java:104</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1SearchLimit_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1SearchLimit.html">com.google.ortools.constraintsolver.SearchLimit</a></div><div class="ttdoc">Base class of all search limits.</div><div class="ttdef"><b>Definition:</b> <a href="SearchLimit_8java_source.html#l00014">SearchLimit.java:14</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a6597357cfaf87286f11abf163a498540"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a6597357cfaf87286f11abf163a498540">com.google.ortools.constraintsolver.RegularLimit.makeClone</a></div><div class="ttdeci">SearchLimit makeClone()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00050">RegularLimit.java:50</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_ac1b0b49d718a7d0249749af88a904822"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#ac1b0b49d718a7d0249749af88a904822">com.google.ortools.constraintsolver.RegularLimit.RegularLimit</a></div><div class="ttdeci">RegularLimit(Solver s, SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions, boolean smart_time_check, boolean cumulative)</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00042">RegularLimit.java:42</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a2ef0429384759d97b9977a6101560502"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a2ef0429384759d97b9977a6101560502">com.google.ortools.constraintsolver.RegularLimit.branches</a></div><div class="ttdeci">long branches()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00080">RegularLimit.java:80</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a02fd73d861ef2e4aabb38c0c9ff82947"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a02fd73d861ef2e4aabb38c0c9ff82947">com.google.ortools.constraintsolver.RegularLimit.init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00064">RegularLimit.java:64</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_acfa29f68b2a0bb88a0ec4f8802f193e4"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#acfa29f68b2a0bb88a0ec4f8802f193e4">com.google.ortools.constraintsolver.RegularLimit.IsUncheckedSolutionLimitReached</a></div><div class="ttdeci">boolean IsUncheckedSolutionLimitReached()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00092">RegularLimit.java:92</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_ad146fa8579a5f8a876c4688cc5a68520"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#ad146fa8579a5f8a876c4688cc5a68520">com.google.ortools.constraintsolver.RegularLimit.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00100">RegularLimit.java:100</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a9bb75937ce147e0a515c5ff70e802cab"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a9bb75937ce147e0a515c5ff70e802cab">com.google.ortools.constraintsolver.RegularLimit.solutions</a></div><div class="ttdeci">long solutions()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00088">RegularLimit.java:88</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_aacaf36771eced6da8805b7b89daf06f3"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#aacaf36771eced6da8805b7b89daf06f3">com.google.ortools.constraintsolver.RegularLimit.progressPercent</a></div><div class="ttdeci">int progressPercent()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00096">RegularLimit.java:96</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a6ffcb3b58a6bcea538f374321414a141"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a6ffcb3b58a6bcea538f374321414a141">com.google.ortools.constraintsolver.RegularLimit.check</a></div><div class="ttdeci">boolean check()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00060">RegularLimit.java:60</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_af70fdafc08394a2f99a9a59ccc90cf65"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#af70fdafc08394a2f99a9a59ccc90cf65">com.google.ortools.constraintsolver.RegularLimit.RegularLimit</a></div><div class="ttdeci">RegularLimit(long cPtr, boolean cMemoryOwn)</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00017">RegularLimit.java:17</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_ac826eb5b58be53b414b365c1fc59576c"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#ac826eb5b58be53b414b365c1fc59576c">com.google.ortools.constraintsolver.RegularLimit.MakeIdenticalClone</a></div><div class="ttdeci">RegularLimit MakeIdenticalClone()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00055">RegularLimit.java:55</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a64dd3699a2a0cf59cbe510dc31ba1d3e"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a64dd3699a2a0cf59cbe510dc31ba1d3e">com.google.ortools.constraintsolver.RegularLimit.UpdateLimits</a></div><div class="ttdeci">void UpdateLimits(SWIGTYPE_p_absl__Duration time, long branches, long failures, long solutions)</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00072">RegularLimit.java:72</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_ae1d1bc64216045ee3501adeeca76bf64"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#ae1d1bc64216045ee3501adeeca76bf64">com.google.ortools.constraintsolver.RegularLimit.failures</a></div><div class="ttdeci">long failures()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00084">RegularLimit.java:84</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a5758aef21f5651cb1cd2beec99a9515f"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a5758aef21f5651cb1cd2beec99a9515f">com.google.ortools.constraintsolver.RegularLimit.copy</a></div><div class="ttdeci">void copy(SearchLimit limit)</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00046">RegularLimit.java:46</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html_a8a42947f24f3fcc3f1b23285ff0d4177"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html#a8a42947f24f3fcc3f1b23285ff0d4177">com.google.ortools.constraintsolver.RegularLimit.wall_time</a></div><div class="ttdeci">long wall_time()</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00076">RegularLimit.java:76</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1RegularLimit.html">com.google.ortools.constraintsolver.RegularLimit</a></div><div class="ttdoc">Usual limit based on wall_time, number of explored branches and number of failures in the search tree...</div><div class="ttdef"><b>Definition:</b> <a href="RegularLimit_8java_source.html#l00014">RegularLimit.java:14</a></div></div>
<div class="ttc" id="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1ModelVisitor_html"><div class="ttname"><a href="classcom_1_1google_1_1ortools_1_1constraintsolver_1_1ModelVisitor.html">com.google.ortools.constraintsolver.ModelVisitor</a></div><div class="ttdoc">Model visitor.</div><div class="ttdef"><b>Definition:</b> <a href="ModelVisitor_8java_source.html#l00014">ModelVisitor.java:14</a></div></div>
2021-01-26 11:28:50 +01:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2019-08-07 18:01:08 -07:00
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
2019-06-13 02:45:44 +02:00
</html>