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

154 lines
57 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.h 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_8h_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.h</div> </div>
</div><!--header-->
<div class="contents">
2021-09-20 15:57:27 +02:00
<a href="cp__model__utils_8h.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">#ifndef OR_TOOLS_SAT_CP_MODEL_UTILS_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#define OR_TOOLS_SAT_CP_MODEL_UTILS_H_</span></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"> 17</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;cstdint&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &lt;limits&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;absl/container/flat_hash_set.h&quot;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="integral__types_8h.html">ortools/base/integral_types.h</a>&quot;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="base_2logging_8h.html">ortools/base/logging.h</a>&quot;</span></div><div class="line"><a name="l
<div class="ttc" id="alldiff__cst_8cc_html_ad10edae0a852d72fb76afb1c77735045"><div class="ttname"><a href="alldiff__cst_8cc.html#ad10edae0a852d72fb76afb1c77735045">min</a></div><div class="ttdeci">int64_t min</div><div class="ttdef"><b>Definition:</b> <a href="alldiff__cst_8cc_source.html#l00139">alldiff_cst.cc:139</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="namespaceoperations__research_1_1sat_html_a43636a195451aa20a7db2403dacdbb10"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a43636a195451aa20a7db2403dacdbb10">operations_research::sat::AllValuesInDomain</a></div><div class="ttdeci">std::vector&lt; int64_t &gt; AllValuesInDomain(const ProtoWithDomain &amp;proto)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00118">cp_model_utils.h:118</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="structoperations__research_1_1_closed_interval_html"><div class="ttname"><a href="structoperations__research_1_1_closed_interval.html">operations_research::ClosedInterval</a></div><div class="ttdoc">Represents a closed interval [start, end].</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8h_source.html#l00033">sorted_interval_list.h:33</a></div></div>
<div class="ttc" id="integral__types_8h_html"><div class="ttname"><a href="integral__types_8h.html">integral_types.h</a></div></div>
<div class="ttc" id="alldiff__cst_8cc_html_a26e6db9bcc64b584051ecc28171ed11f"><div class="ttname"><a href="alldiff__cst_8cc.html#a26e6db9bcc64b584051ecc28171ed11f">max</a></div><div class="ttdeci">int64_t max</div><div class="ttdef"><b>Definition:</b> <a href="alldiff__cst_8cc_source.html#l00140">alldiff_cst.cc:140</a></div></div>
<div class="ttc" id="cp__model__fz__solver_8cc_html_aed003f5eb5197bc586b7ef2c36a63da2"><div class="ttname"><a href="cp__model__fz__solver_8cc.html#aed003f5eb5197bc586b7ef2c36a63da2">proto</a></div><div class="ttdeci">CpModelProto proto</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__fz__solver_8cc_source.html#l00115">cp_model_fz_solver.cc:115</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="namespaceoperations__research_1_1sat_html_a6c7910e5ccb41edc8f442a682890cb31"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a6c7910e5ccb41edc8f442a682890cb31">operations_research::sat::ScaleObjectiveValue</a></div><div class="ttdeci">double ScaleObjectiveValue(const CpObjectiveProto &amp;proto, int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00130">cp_model_utils.h:130</a></div></div>
<div class="ttc" id="base_2logging_8h_html_ae4db23f10f5d4aad6d735f5a74cd6f8c"><div class="ttname"><a href="base_2logging_8h.html#ae4db23f10f5d4aad6d735f5a74cd6f8c">CHECK_LE</a></div><div class="ttdeci">#define CHECK_LE(val1, val2)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00700">base/logging.h:700</a></div></div>
<div class="ttc" id="sorted__interval__list_8h_html"><div class="ttname"><a href="sorted__interval__list_8h.html">sorted_interval_list.h</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__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_a1ff712b32e44ffd2e7f40042330bf2ad"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a1ff712b32e44ffd2e7f40042330bf2ad">operations_research::sat::UnscaleObjectiveValue</a></div><div class="ttdeci">double UnscaleObjectiveValue(const CpObjectiveProto &amp;proto, double value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00143">cp_model_utils.h:143</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_adff14ec933b464328de54c33e81429a9"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#adff14ec933b464328de54c33e81429a9">operations_research::sat::EnforcementLiteral</a></div><div class="ttdeci">int EnforcementLiteral(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00042">cp_model_utils.h:42</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_1_domain_html_a32f2f5802ae5b535d979303ef1b7fc48"><div class="ttname"><a href="classoperations__research_1_1_domain.html#a32f2f5802ae5b535d979303ef1b7fc48">operations_research::Domain::FromFlatSpanOfIntervals</a></div><div class="ttdeci">static Domain FromFlatSpanOfIntervals(absl::Span&lt; const int64_t &gt; flat_intervals)</div><div class="ttdoc">Same as FromIntervals() for a flattened representation (start, end, start, end, .....</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8cc_source.html#l00159">sorted_interval_list.cc:159</a></div></div>
<div class="ttc" id="base_2logging_8h_html"><div class="ttname"><a href="base_2logging_8h.html">logging.h</a></div></div>
<div class="ttc" id="classoperations__research_1_1_domain_html"><div class="ttname"><a href="classoperations__research_1_1_domain.html">operations_research::Domain</a></div><div class="ttdoc">We call domain any subset of Int64 = [kint64min, kint64max].</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8h_source.html#l00081">sorted_interval_list.h:81</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a901c19b12842f8af153e588a689a90b5"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a901c19b12842f8af153e588a689a90b5">operations_research::sat::FillDomainInProto</a></div><div class="ttdeci">void FillDomainInProto(const Domain &amp;domain, ProtoWithDomain *proto)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00093">cp_model_utils.h:93</a></div></div>
<div class="ttc" id="classoperations__research_1_1_domain_html_a647e4a17d1c9be74dede4116d0877d1d"><div class="ttname"><a href="classoperations__research_1_1_domain.html#a647e4a17d1c9be74dede4116d0877d1d">operations_research::Domain::FromFlatIntervals</a></div><div class="ttdeci">static Domain FromFlatIntervals(const std::vector&lt; int64_t &gt; &amp;flat_intervals)</div><div class="ttdoc">This method is available in Python, Java and .NET.</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8cc_source.html#l00172">sorted_interval_list.cc:172</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a42a3b266d8c6dfab1c14baa6c04e2333"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a42a3b266d8c6dfab1c14baa6c04e2333">operations_research::sat::HasEnforcementLiteral</a></div><div class="ttdeci">bool HasEnforcementLiteral(const ConstraintProto &amp;ct)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00039">cp_model_utils.h:39</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="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="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="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="namespaceoperations__research_1_1sat_html_ab1240060466ba48a36a4b36379bce26a"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#ab1240060466ba48a36a4b36379bce26a">operations_research::sat::ReadDomainFromProto</a></div><div class="ttdeci">Domain ReadDomainFromProto(const ProtoWithDomain &amp;proto)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00104">cp_model_utils.h:104</a></div></div>
<div class="ttc" id="namespaceoperations__research_1_1sat_html_a46540a899ab5e8fe1b55e12da55cbbe0"><div class="ttname"><a href="namespaceoperations__research_1_1sat.html#a46540a899ab5e8fe1b55e12da55cbbe0">operations_research::sat::DomainInProtoContains</a></div><div class="ttdeci">bool DomainInProtoContains(const ProtoWithDomain &amp;proto, int64_t value)</div><div class="ttdef"><b>Definition:</b> <a href="cp__model__utils_8h_source.html#l00084">cp_model_utils.h:84</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="demon__profiler_8cc_html_ac072af30c4ffbc834bb4c681f6ecb514"><div class="ttname"><a href="demon__profiler_8cc.html#ac072af30c4ffbc834bb4c681f6ecb514">value</a></div><div class="ttdeci">int64_t value</div><div class="ttdef"><b>Definition:</b> <a href="demon__profiler_8cc_source.html#l00044">demon_profiler.cc:44</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="classoperations__research_1_1_domain_html_a3dcbf23ccbed61ee64ec08a934f57a9c"><div class="ttname"><a href="classoperations__research_1_1_domain.html#a3dcbf23ccbed61ee64ec08a934f57a9c">operations_research::Domain::NumIntervals</a></div><div class="ttdeci">int NumIntervals() const</div><div class="ttdoc">Basic read-only std::vector&lt;&gt; wrapping to view a Domain as a sorted list of non-adjacent intervals.</div><div class="ttdef"><b>Definition:</b> <a href="sorted__interval__list_8h_source.html#l00419">sorted_interval_list.h:419</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="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_8h.html">cp_model_utils.h</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>