Files
ortools-clone/docs/cpp/cp__model__utils_8cc_source.html

154 lines
129 KiB
HTML
Raw Normal View History

2020-09-01 16:00:33 +02:00
<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
2021-09-20 15:57:27 +02:00
<meta name="generator" content="Doxygen 1.8.15"/>
2020-09-01 16:00:33 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OR-Tools: cp_model_utils.cc Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
2021-09-20 15:57:27 +02:00
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</script>
2020-09-01 16:00:33 +02:00
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="orLogo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OR-Tools
2021-09-20 15:57:27 +02:00
&#160;<span id="projectnumber">9.1</span>
2020-09-01 16:00:33 +02:00
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
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">
</div>
</div>
<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('cp__model__utils_8cc_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>
<div class="header">
<div class="headertitle">
<div class="title">cp_model_utils.cc</div> </div>
</div><!--header-->
<div class="contents">
2021-09-20 15:57:27 +02:00
<a href="cp__model__utils_8cc.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-2021 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="preprocessor">#include &quot;<a class="code" href="cp__model__utils_8h.html">ortools/sat/cp_model_utils.h</a>&quot;</span></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="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></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;<span class="preprocessor">#include &quot;<a class="code" href="stl__util_8h.html">ortools/base/stl_util.h</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cp__model_8pb_8h.html">ortools/sat/cp_model.pb.h</a>&quot;</span></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">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">namespace </span>sat {</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;<span class="keyword">namespace </span>{</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"> 27</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</spa
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a1d467595ed8fe5b85dc95328ee1c2770"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a1d467595ed8fe5b85dc95328ee1c2770">operations_research::sat::UsedVariables</a></div><div class="ttdeci">std::vector&lt; int &gt; UsedVariables(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00484">cp_model_utils.cc:484</a></div></div>
<div class="ttc" id="stl__util_8h_html"><div class="ttname"><a href="stl__util_8h.html">stl_util.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html">operations_research::sat::CpObjectiveProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l04621">cp_model.pb.h:4621</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a81b6165b5a5412969f351d0d343166b9"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a81b6165b5a5412969f351d0d343166b9">operations_research::sat::ApplyToAllIntervalIndices</a></div><div class="ttdeci">void ApplyToAllIntervalIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00357">cp_model_utils.cc:357</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_aa0d2b6ddea7cb960b90423ac48f555bf"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#aa0d2b6ddea7cb960b90423ac48f555bf">operations_research::sat::LinearExpressionProto::Clear</a></div><div class="ttdeci">PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8cc_source.html#l01811">cp_model.pb.cc:1811</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ab5f94367fbf4ab2c03bd6bef412c41f7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ab5f94367fbf4ab2c03bd6bef412c41f7">operations_research::sat::ApplyToAllVariableIndices</a></div><div class="ttdeci">void ApplyToAllVariableIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00245">cp_model_utils.cc:245</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html">operations_research::sat::IndexReferences</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00054">cp_model_utils.h:54</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_acdbc8ad33149d45a6e6fcd8b72fd68ed"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#acdbc8ad33149d45a6e6fcd8b72fd68ed">operations_research::sat::PositiveRef</a></div><div class="ttdeci">int PositiveRef(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00035">cp_model_utils.h:35</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_aecb2bc94116e771000e5be7f8e3a7f6c"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#aecb2bc94116e771000e5be7f8e3a7f6c">operations_research::sat::LinearExpressionProto::add_vars</a></div><div class="ttdeci">void add_vars(::PROTOBUF_NAMESPACE_ID::int32 value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06961">cp_model.pb.h:6961</a></div></div>
<div class="ttc" id="namespacegtl_html_a288a1dc92da5d3ad62d4bc4cec9e8b1d"><div class="ttname"><a href="namespacegtl.html#a288a1dc92da5d3ad62d4bc4cec9e8b1d">gtl::STLSortAndRemoveDuplicates</a></div><div class="ttdeci">void STLSortAndRemoveDuplicates(T *v, const LessFunc &amp;less_func)</div><div class="ttdef"><b>Definition:</b> <a href="stl__util_8h_source.html#l00058">stl_util.h:58</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_solver_response_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_solver_response.html">operations_research::sat::CpSolverResponse</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06264">cp_model.pb.h:6264</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_ac7a72ff7bd5bde08ba00f944c5aa3168"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#ac7a72ff7bd5bde08ba00f944c5aa3168">operations_research::sat::CpObjectiveProto::vars</a></div><div class="ttdeci">::PROTOBUF_NAMESPACE_ID::int32 vars(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11248">cp_model.pb.h:11248</a></div></div>
<div class="ttc" id="cp__model__utils_8cc_html_a970e04df3f6acfdbf5bfb4e2335e15eb"><div class="ttname"><a href="cp__model__utils_8cc.html#a970e04df3f6acfdbf5bfb4e2335e15eb">APPLY_TO_REPEATED_FIELD</a></div><div class="ttdeci">#define APPLY_TO_REPEATED_FIELD(ct_name, field_name)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00171">cp_model_utils.cc:171</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_constraint_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_constraint_proto.html">operations_research::sat::ConstraintProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l03865">cp_model.pb.h:3865</a></div></div>
<div class="ttc" id="cp__model__utils_8cc_html_a51c0d834a80b9dcd99d5f8d4eff92db2"><div class="ttname"><a href="cp__model__utils_8cc.html#a51c0d834a80b9dcd99d5f8d4eff92db2">APPLY_TO_SINGULAR_FIELD</a></div><div class="ttdeci">#define APPLY_TO_SINGULAR_FIELD(ct_name, field_name)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00164">cp_model_utils.cc:164</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a50faf32570e4f9cd348c797231fe35e0"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a50faf32570e4f9cd348c797231fe35e0">operations_research::sat::LinearExpressionProto::coeffs</a></div><div class="ttdeci">::PROTOBUF_NAMESPACE_ID::int64 coeffs(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06997">cp_model.pb.h:6997</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_ae0803b8198728cd4f6e58498d9c60091"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ae0803b8198728cd4f6e58498d9c60091">operations_research::sat::NegatedRef</a></div><div class="ttdeci">int NegatedRef(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00034">cp_model_utils.h:34</a></div></div>
<div class="ttc" id="cp__model__utils_8h_html"><div class="ttname"><a href="cp__model__utils_8h.html">cp_model_utils.h</a></div></div>
<div class="ttc" id="routing__flow_8cc_html_a2acb49f4df5288066c43610bede123ec"><div class="ttname"><a href="routing__flow_8cc.html#a2acb49f4df5288066c43610bede123ec">capacity</a></div><div class="ttdeci">int64_t capacity</div><div class="ttdef"><b>Definition:</b> <a href="routing__flow_8cc_source.html#l00151">routing_flow.cc:151</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_a50faf32570e4f9cd348c797231fe35e0"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#a50faf32570e4f9cd348c797231fe35e0">operations_research::sat::CpObjectiveProto::coeffs</a></div><div class="ttdeci">::PROTOBUF_NAMESPACE_ID::int64 coeffs(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11295">cp_model.pb.h:11295</a></div></div>
<div class="ttc" id="pack_8cc_html_a750b5d744c39a06bfb13e6eb010e35d0"><div class="ttname"><a href="pack_8cc.html#a750b5d744c39a06bfb13e6eb010e35d0">index</a></div><div class="ttdeci">int index</div><div class="ttdef"><b>Definition:</b> <a href="pack_8cc_source.html#l00509">pack.cc:509</a></div></div>
<div class="ttc" id="cp__model__solver_8cc_html_abcd33b18ce6d5a90a4ba5c37cfa58829"><div class="ttname"><a href="cp__model__solver_8cc.html#abcd33b18ce6d5a90a4ba5c37cfa58829">response</a></div><div class="ttdeci">SharedResponseManager * response</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__solver_8cc_source.html#l02015">cp_model_solver.cc:2015</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a217ba4c51953c701a68d6572d79801f1"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a217ba4c51953c701a68d6572d79801f1">operations_research::sat::UsedIntervals</a></div><div class="ttdeci">std::vector&lt; int &gt; UsedIntervals(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00499">cp_model_utils.cc:499</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_acf5b1cbffc494f14e8b87c672d5dda5f"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#acf5b1cbffc494f14e8b87c672d5dda5f">operations_research::sat::ConstraintCaseName</a></div><div class="ttdeci">std::string ConstraintCaseName(ConstraintProto::ConstraintCase constraint_case)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00424">cp_model_utils.cc:424</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html">operations_research::sat::LinearExpressionProto</a></div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l00754">cp_model.pb.h:754</a></div></div>
<div class="ttc" id="cp__model_8pb_8h_html"><div class="ttname"><a href="cp__model_8pb_8h.html">cp_model.pb.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_cp_objective_proto_html_a76c521af56ab0e96eb06deeb679f46f7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_cp_objective_proto.html#a76c521af56ab0e96eb06deeb679f46f7">operations_research::sat::CpObjectiveProto::vars_size</a></div><div class="ttdeci">int vars_size() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l11239">cp_model.pb.h:11239</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a817b500800adbaa67949f6d5d31b1b26"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a817b500800adbaa67949f6d5d31b1b26">operations_research::sat::LinearExpressionProto::set_offset</a></div><div class="ttdeci">void set_offset(::PROTOBUF_NAMESPACE_ID::int64 value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07046">cp_model.pb.h:7046</a></div></div>
<div class="ttc" id="namespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">Collection of objects used to extend the Constraint Solver library.</div><div class="ttdef"><b>Definition:</b> <a href="dense__doubly__linked__list_8h_source.html#l00021">dense_doubly_linked_list.h:21</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a10826704577008404187a36808daa739"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a10826704577008404187a36808daa739">operations_research::sat::ComputeInnerObjective</a></div><div class="ttdeci">int64_t ComputeInnerObjective(const CpObjectiveProto &amp;objective, const CpSolverResponse &amp;response)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00565">cp_model_utils.cc:565</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_constraint_proto_html_ada030f50fcddb646af448ac7c5705e35"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_constraint_proto.html#ada030f50fcddb646af448ac7c5705e35">operations_research::sat::ConstraintProto::ConstraintCase</a></div><div class="ttdeci">ConstraintCase</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l03904">cp_model.pb.h:3904</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html_a404c06a2a9a7b2290466f5d5423093d4"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html#a404c06a2a9a7b2290466f5d5423093d4">operations_research::sat::IndexReferences::literals</a></div><div class="ttdeci">std::vector&lt; int &gt; literals</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00056">cp_model_utils.h:56</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_ac7a72ff7bd5bde08ba00f944c5aa3168"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#ac7a72ff7bd5bde08ba00f944c5aa3168">operations_research::sat::LinearExpressionProto::vars</a></div><div class="ttdeci">::PROTOBUF_NAMESPACE_ID::int32 vars(int index) const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06950">cp_model.pb.h:6950</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a217338425de4389014563f1f24331713"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a217338425de4389014563f1f24331713">operations_research::sat::RefIsPositive</a></div><div class="ttdeci">bool RefIsPositive(int ref)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00036">cp_model_utils.h:36</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a9bb52f9d2a03820db9271cdae2ce97d5"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a9bb52f9d2a03820db9271cdae2ce97d5">operations_research::sat::LinearExpressionProto::add_coeffs</a></div><div class="ttdeci">void add_coeffs(::PROTOBUF_NAMESPACE_ID::int64 value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l07008">cp_model.pb.h:7008</a></div></div>
<div class="ttc" id="structoperations__research_1_1sat_1_1_index_references_html_a0821f58cb944376b1f8919327f202443"><div class="ttname"><a href="structoperations__research_1_1sat_1_1_index_references.html#a0821f58cb944376b1f8919327f202443">operations_research::sat::IndexReferences::variables</a></div><div class="ttdeci">std::vector&lt; int &gt; variables</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00055">cp_model_utils.h:55</a></div></div>
<div class="ttc" id="expr__array_8cc_html_a472a99923cbe11ae7b5a5d157d9ad465"><div class="ttname"><a href="expr__array_8cc.html#a472a99923cbe11ae7b5a5d157d9ad465">var</a></div><div class="ttdeci">IntVar * var</div><div class="ttdef"><b>Definition:</b> <a href="expr__array_8cc_source.html#l01874">expr_array.cc:1874</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a6d4dc38d28f20c0c1bbbe71fff0803e7"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a6d4dc38d28f20c0c1bbbe71fff0803e7">operations_research::sat::ApplyToAllLiteralIndices</a></div><div class="ttdeci">void ApplyToAllLiteralIndices(const std::function&lt; void(int *)&gt; &amp;f, ConstraintProto *ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00176">cp_model_utils.cc:176</a></div></div>
<div class="ttc" id="resource_8cc_html_af92a8383a05fdf586a52263d358f5ada"><div class="ttname"><a href="resource_8cc.html#af92a8383a05fdf586a52263d358f5ada">interval</a></div><div class="ttdeci">IntervalVar * interval</div><div class="ttdef"><b>Definition:</b> <a href="resource_8cc_source.html#l00100">resource.cc:100</a></div></div>
<div class="ttc" id="demon__profiler_8cc_html_a05da18ca9c7b657a4a6ea24e07c9b695"><div class="ttname"><a href="demon__profiler_8cc.html#a05da18ca9c7b657a4a6ea24e07c9b695">ct</a></div><div class="ttdeci">const Constraint * ct</div><div class="ttdef"><b>Definition:</b> <a href="demon__profiler_8cc_source.html#l00043">demon_profiler.cc:43</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_aba8e3465fc58d3b287e05451d5230bae"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#aba8e3465fc58d3b287e05451d5230bae">operations_research::sat::GetReferencesUsedByConstraint</a></div><div class="ttdeci">IndexReferences GetReferencesUsedByConstraint(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00044">cp_model_utils.cc:44</a></div></div>
<div class="ttc" id="classoperations__research_1_1sat_1_1_linear_expression_proto_html_a76c521af56ab0e96eb06deeb679f46f7"><div class="ttname"><a href="classoperations__research_1_1sat_1_1_linear_expression_proto.html#a76c521af56ab0e96eb06deeb679f46f7">operations_research::sat::LinearExpressionProto::vars_size</a></div><div class="ttdeci">int vars_size() const</div><div class="ttdef"><b>Definition:</b> <a href="cp__model_8pb_8h_source.html#l06941">cp_model.pb.h:6941</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a22efb1995471e34caa35927a9032f5f3"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a22efb1995471e34caa35927a9032f5f3">operations_research::sat::SetToNegatedLinearExpression</a></div><div class="ttdeci">void SetToNegatedLinearExpression(const LinearExpressionProto &amp;input_expr, LinearExpressionProto *output_negated_expr)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8cc_source.html#l00034">cp_model_utils.cc:34</a></div></div>
2021-01-26 11:28:50 +01:00
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
2020-09-01 16:00:33 +02:00
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<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="cp__model__utils_8cc.html">cp_model_utils.cc</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
2021-09-20 15:57:27 +02:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
2020-09-01 16:00:33 +02:00
</ul>
</div>
</body>
</html>