200 lines
28 KiB
HTML
200 lines
28 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"/>-->
|
|
<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="styleSheet.tmp.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<div id="banner-container">
|
|
<div id="banner">
|
|
<span id="sfml">Google OR-Tools 9.0</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;">.Net Reference</h1>
|
|
</div>
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
|
|
/* @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&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">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('IntervalVariables_8cs_source.html',''); initResizable(); });
|
|
/* @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>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">IntervalVariables.cs</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="IntervalVariables_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> <span class="comment">// Copyright 2010-2021 Google LLC</span></div>
|
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div>
|
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <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> <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> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> <span class="comment">//</span></div>
|
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div>
|
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <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> <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> <span class="comment">// limitations under the License.</span></div>
|
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespaceGoogle_1_1OrTools_1_1Sat.html">Google.OrTools.Sat</a></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">using</span> System;</div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">using</span> System.<a class="code" href="namespaceSystem_1_1Collections.html">Collections</a>.<a class="code" href="namespaceSystem_1_1Collections_1_1Generic.html">Generic</a>;</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="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html"> 19</a></span>  <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html">IntervalVar</a></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  {</div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a3272cf45e03c59a63a6fade952767a8d"> 21</a></span>  <span class="keyword">public</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a3272cf45e03c59a63a6fade952767a8d">IntervalVar</a>(<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html">CpModelProto</a> model, <span class="keywordtype">int</span> start_index, <span class="keywordtype">int</span> size_index, <span class="keywordtype">int</span> end_index, <span class="keywordtype">int</span> is_present_index,</div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordtype">string</span> name)</div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  {</div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  model_ = model;</div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  index_ = model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>.Count;</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  interval_ = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html">IntervalConstraintProto</a>();</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a0b2c355629c0c41a383ab8db641304ee">Start</a> = start_index;</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#af06eb7b9b70be91dadd4f12ebcaed796">Size</a> = size_index;</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a8fd2246e5257c4d309bf3777e74f54bf">End</a> = end_index;</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html">ConstraintProto</a> ct = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html">ConstraintProto</a>();</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  ct.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#ae0f115317f8f86f279a1e01a585e9e46">Interval</a> = interval_;</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  ct.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#a7ee9065718e6628dc7791b756fa6c0f9">Name</a> = name;</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  ct.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#a0c6ad34cc8d2b4d6e41ee4f1adf9616f">EnforcementLiteral</a>.Add(is_present_index);</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>.Add(ct);</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#ace5a69f949434f98f3b5cd926b63cf45"> 38</a></span>  <span class="keyword">public</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#ace5a69f949434f98f3b5cd926b63cf45">IntervalVar</a>(<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html">CpModelProto</a> model, <span class="keywordtype">int</span> start_index, <span class="keywordtype">int</span> size_index, <span class="keywordtype">int</span> end_index, <span class="keywordtype">string</span> name)</div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  model_ = model;</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  index_ = model.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>.Count;</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  interval_ = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html">IntervalConstraintProto</a>();</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a0b2c355629c0c41a383ab8db641304ee">Start</a> = start_index;</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#af06eb7b9b70be91dadd4f12ebcaed796">Size</a> = size_index;</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  interval_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a8fd2246e5257c4d309bf3777e74f54bf">End</a> = end_index;</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html">ConstraintProto</a> ct = <span class="keyword">new</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html">ConstraintProto</a>();</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  ct.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#ae0f115317f8f86f279a1e01a585e9e46">Interval</a> = interval_;</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  ct.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#a7ee9065718e6628dc7791b756fa6c0f9">Name</a> = name;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  model_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>.Add(ct);</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a04968eb2a77be01bc897e7441d9b8640"> 53</a></span>  <span class="keyword">public</span> <span class="keywordtype">int</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a04968eb2a77be01bc897e7441d9b8640">GetIndex</a>()</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> index_;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a4d48387f37a61db1cbd593e29238ef6f"> 58</a></span>  <span class="keyword">public</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html">IntervalConstraintProto</a> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a4d48387f37a61db1cbd593e29238ef6f">Proto</a></div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">get</span> {</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> interval_;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">set</span> {</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  interval_ = value;</div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div>
|
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div>
|
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#aa73e7c4dd1df5fd5fbf81c7764ee1533"> 68</a></span>  <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">string</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#aa73e7c4dd1df5fd5fbf81c7764ee1533">ToString</a>()</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> model_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>[index_].ToString();</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a26f76217e5014e355033cfe094fcc168"> 73</a></span>  <span class="keyword">public</span> <span class="keywordtype">string</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a26f76217e5014e355033cfe094fcc168">Name</a>()</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  {</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> model_.<a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Constraints</a>[index_].Name;</div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">private</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html">CpModelProto</a> model_;</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">private</span> <span class="keywordtype">int</span> index_;</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">private</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html">IntervalConstraintProto</a> interval_;</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> } <span class="comment">// namespace Google.OrTools.Sat</span></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html">Google.OrTools.Sat.ConstraintProto</a></div><div class="ttdoc">Next id: 30</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l04562">CpModel.pb.cs:4566</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto_html_a0c6ad34cc8d2b4d6e41ee4f1adf9616f"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#a0c6ad34cc8d2b4d6e41ee4f1adf9616f">Google.OrTools.Sat.ConstraintProto.EnforcementLiteral</a></div><div class="ttdeci">pbc::RepeatedField< int > EnforcementLiteral</div><div class="ttdoc">The constraint will be enforced iff all literals listed here are true.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l04715">CpModel.pb.cs:4715</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto_html_a7ee9065718e6628dc7791b756fa6c0f9"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#a7ee9065718e6628dc7791b756fa6c0f9">Google.OrTools.Sat.ConstraintProto.Name</a></div><div class="ttdeci">string Name</div><div class="ttdoc">For debug/logging only.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l04686">CpModel.pb.cs:4686</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto_html_ae0f115317f8f86f279a1e01a585e9e46"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1ConstraintProto.html#ae0f115317f8f86f279a1e01a585e9e46">Google.OrTools.Sat.ConstraintProto.Interval</a></div><div class="ttdeci">global::Google.OrTools.Sat.IntervalConstraintProto?? Interval</div><div class="ttdoc">The interval constraint takes a start, end, and size, and forces start + size == end.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l05065">CpModel.pb.cs:5065</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpModelProto_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html">Google.OrTools.Sat.CpModelProto</a></div><div class="ttdoc">A constraint programming problem.</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l07948">CpModel.pb.cs:7952</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1CpModelProto_html_a39723d2010ef2a6f6966173e1462fce6"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1CpModelProto.html#a39723d2010ef2a6f6966173e1462fce6">Google.OrTools.Sat.CpModelProto.Constraints</a></div><div class="ttdeci">pbc::RepeatedField< global::Google.OrTools.Sat.ConstraintProto > Constraints</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l08026">CpModel.pb.cs:8026</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html">Google.OrTools.Sat.IntervalConstraintProto</a></div><div class="ttdoc">This "special" constraint not only enforces (start + size == end) and (size >= 0) but can also be ref...</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l01921">CpModel.pb.cs:1925</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto_html_a0b2c355629c0c41a383ab8db641304ee"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a0b2c355629c0c41a383ab8db641304ee">Google.OrTools.Sat.IntervalConstraintProto.Start</a></div><div class="ttdeci">int Start</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l01968">CpModel.pb.cs:1968</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto_html_a8fd2246e5257c4d309bf3777e74f54bf"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#a8fd2246e5257c4d309bf3777e74f54bf">Google.OrTools.Sat.IntervalConstraintProto.End</a></div><div class="ttdeci">int End</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l01979">CpModel.pb.cs:1979</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto_html_af06eb7b9b70be91dadd4f12ebcaed796"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalConstraintProto.html#af06eb7b9b70be91dadd4f12ebcaed796">Google.OrTools.Sat.IntervalConstraintProto.Size</a></div><div class="ttdeci">int Size</div><div class="ttdef"><b>Definition:</b> <a href="CpModel_8pb_8cs_source.html#l01990">CpModel.pb.cs:1990</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html">Google.OrTools.Sat.IntervalVar</a></div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00019">IntervalVariables.cs:20</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_a04968eb2a77be01bc897e7441d9b8640"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a04968eb2a77be01bc897e7441d9b8640">Google.OrTools.Sat.IntervalVar.GetIndex</a></div><div class="ttdeci">int GetIndex()</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00053">IntervalVariables.cs:53</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_a26f76217e5014e355033cfe094fcc168"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a26f76217e5014e355033cfe094fcc168">Google.OrTools.Sat.IntervalVar.Name</a></div><div class="ttdeci">string Name()</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00073">IntervalVariables.cs:73</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_a3272cf45e03c59a63a6fade952767a8d"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a3272cf45e03c59a63a6fade952767a8d">Google.OrTools.Sat.IntervalVar.IntervalVar</a></div><div class="ttdeci">IntervalVar(CpModelProto model, int start_index, int size_index, int end_index, int is_present_index, string name)</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00021">IntervalVariables.cs:21</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_a4d48387f37a61db1cbd593e29238ef6f"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a4d48387f37a61db1cbd593e29238ef6f">Google.OrTools.Sat.IntervalVar.Proto</a></div><div class="ttdeci">IntervalConstraintProto Proto</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00058">IntervalVariables.cs:59</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_aa73e7c4dd1df5fd5fbf81c7764ee1533"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#aa73e7c4dd1df5fd5fbf81c7764ee1533">Google.OrTools.Sat.IntervalVar.ToString</a></div><div class="ttdeci">override string ToString()</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00068">IntervalVariables.cs:68</a></div></div>
|
|
<div class="ttc" id="aclassGoogle_1_1OrTools_1_1Sat_1_1IntervalVar_html_ace5a69f949434f98f3b5cd926b63cf45"><div class="ttname"><a href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#ace5a69f949434f98f3b5cd926b63cf45">Google.OrTools.Sat.IntervalVar.IntervalVar</a></div><div class="ttdeci">IntervalVar(CpModelProto model, int start_index, int size_index, int end_index, string name)</div><div class="ttdef"><b>Definition:</b> <a href="IntervalVariables_8cs_source.html#l00038">IntervalVariables.cs:38</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 class="ttc" id="anamespaceSystem_1_1Collections_1_1Generic_html"><div class="ttname"><a href="namespaceSystem_1_1Collections_1_1Generic.html">System.Collections.Generic</a></div></div>
|
|
<div class="ttc" id="anamespaceSystem_1_1Collections_html"><div class="ttname"><a href="namespaceSystem_1_1Collections.html">System.Collections</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
</div>
|
|
</div>
|
|
<div id="footer-container">
|
|
<div id="footer">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|