Files
ortools-clone/docs/dotnet/StopAfterNSolutionsSampleSat_8cs_source.html
Corentin Le Molgat 659db10ccc Update dotnet doc
2020-01-31 17:06:09 +01:00

156 lines
23 KiB
HTML

<!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">
<span id="sfml">Google OR-Tools 7.5</span>
</div>
</div>
<div id="content" style="width: 100%; overflow: hidden;">
<div style="margin-left: 15px; margin-top: 5px; float: left; color: #145A32;">
<h2>DotNet Reference</h2>
<ul>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Sat.html">CP-SAT</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Graph.html">Graph</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Algorithms.html">Knapsack solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1LinearSolver.html">Linear solver</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1ConstraintSolver.html">Routing</a></li>
<li><a href="../dotnet/namespaceGoogle_1_1OrTools_1_1Util.html">Util</a></li>
</ul>
</div>
<div id="content">
<div align="center">
<h1 style="color: #145A32;">DotNet Reference</h1>
</div>
<!-- Generated by Doxygen 1.8.18 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<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="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_dddac007a45022d9da6ea1dee012c3b9.html">sat</a></li><li class="navelem"><a class="el" href="dir_8005d2da67a7154daa1c0c8b69782d62.html">samples</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">StopAfterNSolutionsSampleSat.cs</div> </div>
</div><!--header-->
<div class="contents">
<a href="StopAfterNSolutionsSampleSat_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">// Copyright 2010-2018 Google LLC</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</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;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160; </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"> 15</span>&#160;<span class="keyword">using</span> System;</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">using</span> <a class="code" href="namespaceGoogle.html">Google</a>.<a class="code" href="namespaceGoogle_1_1OrTools.html">OrTools</a>.<a class="code" href="namespaceGoogle_1_1OrTools_1_1Sat.html">Sat</a>;</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="classVarArraySolutionPrinterWithLimit.html"> 18</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classVarArraySolutionPrinterWithLimit.html">VarArraySolutionPrinterWithLimit</a> : <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback.html">CpSolverSolutionCallback</a></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"><a class="line" href="classVarArraySolutionPrinterWithLimit.html#add96302db1e80345e604ca9b7794c8b8"> 20</a></span>&#160; <span class="keyword">public</span> <a class="code" href="classVarArraySolutionPrinterWithLimit.html#add96302db1e80345e604ca9b7794c8b8">VarArraySolutionPrinterWithLimit</a>(<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a>[] variables,</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <span class="keywordtype">int</span> solution_limit)</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; variables_ = variables;</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; solution_limit_ = solution_limit;</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; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classVarArraySolutionPrinterWithLimit.html#af7fcf8c528888cb381deeb6f1317d788"> 27</a></span>&#160; <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="classVarArraySolutionPrinterWithLimit.html#af7fcf8c528888cb381deeb6f1317d788">OnSolutionCallback</a>()</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; {</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; Console.WriteLine(String.Format(<span class="stringliteral">&quot;Solution #{0}: time = {1:F2} s&quot;</span>,</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; solution_count_, <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html#a054f9e55bbf4743a577284bc7caa1904">WallTime</a>()));</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keywordflow">foreach</span> (<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a> v <span class="keywordflow">in</span> variables_)</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; Console.WriteLine(</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; String.Format(<span class="stringliteral">&quot; {0} = {1}&quot;</span>, v.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html#aba017d356ac25967226a9e0cd575333a">ShortString</a>(), <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback.html#a58c7ab0674a3f3f5a2b357e0d1b01396">Value</a>(v)));</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; }</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; solution_count_++;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordflow">if</span> (solution_count_ &gt;= solution_limit_)</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; Console.WriteLine(</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; String.Format(<span class="stringliteral">&quot;Stopping search after {0} solutions&quot;</span>,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; solution_limit_));</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html#a57215ac87fea3819edb845e247550ccd">StopSearch</a>();</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; }</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; }</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classVarArraySolutionPrinterWithLimit.html#a5030c2f98f3524a0fff83f23bf4efd76"> 46</a></span>&#160; <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classVarArraySolutionPrinterWithLimit.html#a5030c2f98f3524a0fff83f23bf4efd76">SolutionCount</a>()</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; {</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> solution_count_;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <span class="keyword">private</span> <span class="keywordtype">int</span> solution_count_;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">private</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a>[] variables_;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">private</span> <span class="keywordtype">int</span> solution_limit_;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;}</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classStopAfterNSolutionsSampleSat.html"> 56</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classStopAfterNSolutionsSampleSat.html">StopAfterNSolutionsSampleSat</a></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;{</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> Main()</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; {</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// Creates the model.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html">CpModel</a> model = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html">CpModel</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// Creates the variables.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">int</span> num_vals = 3;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a> x = model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html#a8b4b0deaf8d98967ba3dd1e6cfd415f7">NewIntVar</a>(0, num_vals - 1, <span class="stringliteral">&quot;x&quot;</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a> y = model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html#a8b4b0deaf8d98967ba3dd1e6cfd415f7">NewIntVar</a>(0, num_vals - 1, <span class="stringliteral">&quot;y&quot;</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a> z = model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html#a8b4b0deaf8d98967ba3dd1e6cfd415f7">NewIntVar</a>(0, num_vals - 1, <span class="stringliteral">&quot;z&quot;</span>);</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="comment">// Creates a solver and solves the model.</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolver.html">CpSolver</a> solver = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolver.html">CpSolver</a>();</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="classVarArraySolutionPrinterWithLimit.html">VarArraySolutionPrinterWithLimit</a> cb =</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keyword">new</span> <a class="code" href="classVarArraySolutionPrinterWithLimit.html">VarArraySolutionPrinterWithLimit</a>(<span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">IntVar</a>[] { x, y, z }, 5);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; solver.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolver.html#aa325005cb61ad7890dedd8843eb7b5dd">SearchAllSolutions</a>(model, cb);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; Console.WriteLine(String.Format(<span class="stringliteral">&quot;Number of solutions found: {0}&quot;</span>,</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; cb.<a class="code" href="classVarArraySolutionPrinterWithLimit.html#a5030c2f98f3524a0fff83f23bf4efd76">SolutionCount</a>()));</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback.html">Google.OrTools.Sat.CpSolverSolutionCallback</a></div><div class="ttdef"><b>Definition:</b> <a href="SearchHelpers_8cs_source.html#l00020">SearchHelpers.cs:20</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpModel_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html">Google.OrTools.Sat.CpModel</a></div><div class="ttdoc">Wrapper class around the cp_model proto.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8cs_source.html#l00023">CpModel.cs:23</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntVar_html_aba017d356ac25967226a9e0cd575333a"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html#aba017d356ac25967226a9e0cd575333a">Google.OrTools.Sat.IntVar.ShortString</a></div><div class="ttdeci">override string ShortString()</div><div class="ttdef"><b>Definition:</b> <a href="IntegerExpressions_8cs_source.html#l00536">IntegerExpressions.cs:536</a></div></div>
<div class="ttc" id="aclassVarArraySolutionPrinterWithLimit_html_a5030c2f98f3524a0fff83f23bf4efd76"><div class="ttname"><a href="classVarArraySolutionPrinterWithLimit.html#a5030c2f98f3524a0fff83f23bf4efd76">VarArraySolutionPrinterWithLimit.SolutionCount</a></div><div class="ttdeci">int SolutionCount()</div><div class="ttdef"><b>Definition:</b> <a href="StopAfterNSolutionsSampleSat_8cs_source.html#l00046">StopAfterNSolutionsSampleSat.cs:46</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntVar_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntVar.html">Google.OrTools.Sat.IntVar</a></div><div class="ttdef"><b>Definition:</b> <a href="IntegerExpressions_8cs_source.html#l00497">IntegerExpressions.cs:497</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback_html_a054f9e55bbf4743a577284bc7caa1904"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html#a054f9e55bbf4743a577284bc7caa1904">Google.OrTools.Sat.SolutionCallback.WallTime</a></div><div class="ttdeci">double WallTime()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8cs_source.html#l00080">SolutionCallback.cs:80</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback_html_a57215ac87fea3819edb845e247550ccd"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1SolutionCallback.html#a57215ac87fea3819edb845e247550ccd">Google.OrTools.Sat.SolutionCallback.StopSearch</a></div><div class="ttdeci">void StopSearch()</div><div class="ttdef"><b>Definition:</b> <a href="SolutionCallback_8cs_source.html#l00110">SolutionCallback.cs:110</a></div></div>
<div class="ttc" id="aclassVarArraySolutionPrinterWithLimit_html_af7fcf8c528888cb381deeb6f1317d788"><div class="ttname"><a href="classVarArraySolutionPrinterWithLimit.html#af7fcf8c528888cb381deeb6f1317d788">VarArraySolutionPrinterWithLimit.OnSolutionCallback</a></div><div class="ttdeci">override void OnSolutionCallback()</div><div class="ttdef"><b>Definition:</b> <a href="StopAfterNSolutionsSampleSat_8cs_source.html#l00027">StopAfterNSolutionsSampleSat.cs:27</a></div></div>
<div class="ttc" id="anamespaceGoogle_html"><div class="ttname"><a href="namespaceGoogle.html">Google</a></div><div class="ttdef"><b>Definition:</b> <a href="KInt64Vector_8cs_source.html#l00011">KInt64Vector.cs:11</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpModel_html_a8b4b0deaf8d98967ba3dd1e6cfd415f7"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpModel.html#a8b4b0deaf8d98967ba3dd1e6cfd415f7">Google.OrTools.Sat.CpModel.NewIntVar</a></div><div class="ttdeci">IntVar NewIntVar(long lb, long ub, string name)</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8cs_source.html#l00045">CpModel.cs:45</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpSolver_html_aa325005cb61ad7890dedd8843eb7b5dd"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolver.html#aa325005cb61ad7890dedd8843eb7b5dd">Google.OrTools.Sat.CpSolver.SearchAllSolutions</a></div><div class="ttdeci">CpSolverStatus SearchAllSolutions(CpModel model, SolutionCallback cb)</div><div class="ttdef"><b>Definition:</b> <a href="CpSolver_8cs_source.html#l00052">CpSolver.cs:52</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback_html_a58c7ab0674a3f3f5a2b357e0d1b01396"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolverSolutionCallback.html#a58c7ab0674a3f3f5a2b357e0d1b01396">Google.OrTools.Sat.CpSolverSolutionCallback.Value</a></div><div class="ttdeci">long Value(LinearExpr e)</div><div class="ttdef"><b>Definition:</b> <a href="SearchHelpers_8cs_source.html#l00022">SearchHelpers.cs:22</a></div></div>
<div class="ttc" id="aclassStopAfterNSolutionsSampleSat_html"><div class="ttname"><a href="classStopAfterNSolutionsSampleSat.html">StopAfterNSolutionsSampleSat</a></div><div class="ttdef"><b>Definition:</b> <a href="StopAfterNSolutionsSampleSat_8cs_source.html#l00056">StopAfterNSolutionsSampleSat.cs:56</a></div></div>
<div class="ttc" id="aclassVarArraySolutionPrinterWithLimit_html"><div class="ttname"><a href="classVarArraySolutionPrinterWithLimit.html">VarArraySolutionPrinterWithLimit</a></div><div class="ttdef"><b>Definition:</b> <a href="StopAfterNSolutionsSampleSat_8cs_source.html#l00018">StopAfterNSolutionsSampleSat.cs:18</a></div></div>
<div class="ttc" id="anamespaceGoogle_1_1OrTools_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools.html">Google.OrTools</a></div><div class="ttdef"><b>Definition:</b> <a href="KInt64Vector_8cs_source.html#l00011">KInt64Vector.cs:11</a></div></div>
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpSolver_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpSolver.html">Google.OrTools.Sat.CpSolver</a></div><div class="ttdef"><b>Definition:</b> <a href="CpSolver_8cs_source.html#l00019">CpSolver.cs:19</a></div></div>
<div class="ttc" id="aclassVarArraySolutionPrinterWithLimit_html_add96302db1e80345e604ca9b7794c8b8"><div class="ttname"><a href="classVarArraySolutionPrinterWithLimit.html#add96302db1e80345e604ca9b7794c8b8">VarArraySolutionPrinterWithLimit.VarArraySolutionPrinterWithLimit</a></div><div class="ttdeci">VarArraySolutionPrinterWithLimit(IntVar[] variables, int solution_limit)</div><div class="ttdef"><b>Definition:</b> <a href="StopAfterNSolutionsSampleSat_8cs_source.html#l00020">StopAfterNSolutionsSampleSat.cs:20</a></div></div>
<div class="ttc" id="anamespaceGoogle_1_1OrTools_1_1Sat_html"><div class="ttname"><a href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a></div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l00012">CpModel.pb.cs:12</a></div></div>
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>