Files
ortools-clone/docs/dotnet/IntervalVariables_8cs_source.html

70 lines
18 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">
<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">
2019-09-12 09:22:44 +02:00
<span id="sfml">Google OR-Tools 7.4</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>DotNet Reference</h2>
2019-08-07 18:01:08 -07:00
<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">
2019-08-07 18:01:08 -07:00
<div align="center">
<h1 style="color: #145A32;">DotNet Reference</h1>
</div>
2019-09-12 09:22:44 +02:00
<!-- Generated by Doxygen 1.8.15 -->
<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_666ec04a5210c3fc7bf26544c3cbcf44.html">csharp</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">IntervalVariables.cs</div> </div>
</div><!--header-->
<div class="contents">
2019-09-12 09:22:44 +02:00
<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>&#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;<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>&#160;{</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">using</span> System;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">using</span> System.<a class="code" href="namespaceSystem_1_1Collections.html">Collections</a>.Generic;</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"><a class="line" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html"> 19</a></span>&#160;<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>&#160;{</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>&#160; <span class="keyword">public</span> <a class="code" href="classGoogle_1_1OrTools_1_1Sat_1_1IntervalVar.html#a3272cf45e03c59a63a6fade952767a8d">IntervalVar</a>(CpModelProto model,</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <span class="keywordtype">int</span> start_index, <span class="keywordtype">int</span> size_index, <span class="keywordtype">int</span> end_index,</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="keywordtype">int</span> is_present_index, <span class="keywordtype">string</span> name) {</div><div clas
<div class="ttc" id="classGoogle_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#l00064">IntervalVariables.cs:64</a></div></div>
<div class="ttc" id="namespaceSystem_1_1Collections_html"><div class="ttname"><a href="namespaceSystem_1_1Collections.html">Collections</a></div></div>
<div class="ttc" id="classGoogle_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#l00054">IntervalVariables.cs:54</a></div></div>
<div class="ttc" id="classGoogle_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="classGoogle_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#l00059">IntervalVariables.cs:59</a></div></div>
<div class="ttc" id="classGoogle_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:19</a></div></div>
<div class="ttc" id="classGoogle_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#l00069">IntervalVariables.cs:69</a></div></div>
<div class="ttc" id="namespaceGoogle_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="operations__research__sat_8cs_source.html#l00011">operations_research_sat.cs:11</a></div></div>
</div><!-- fragment --></div><!-- contents -->
2019-08-07 18:01:08 -07:00
</div>
</div>
<div id="footer-container">
<div id="footer">
</div>
</div>
</body>
</html>