259 lines
50 KiB
HTML
259 lines
50 KiB
HTML
<!-- 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"/>
|
|
<meta name="generator" content="Doxygen 1.8.20"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>OR-Tools: parser_util.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>
|
|
<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
|
|
 <span id="projectnumber">8.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.20 -->
|
|
<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');
|
|
/* @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('parser__util_8h_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">parser_util.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="parser__util_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> <span class="comment">// Copyright 2010-2018 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="comment">// Struct and utility functions used by the code in parser.yy</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// Included in parser.tab.hh.</span></div>
|
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef OR_TOOLS_FLATZINC_PARSER_UTIL_H_</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define OR_TOOLS_FLATZINC_PARSER_UTIL_H_</span></div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <cmath></span></div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "absl/container/flat_hash_map.h"</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="map__util_8h.html">ortools/base/map_util.h</a>"</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="flatzinc_2model_8h.html">ortools/flatzinc/model.h</a>"</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>fz {</div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// This is the context used during parsing.</span></div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html"> 29</a></span> <span class="keyword">struct </span><a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html">ParserContext</a> {</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#a51b50a5c2a40967051bf294bfdc958bc"> 30</a></span>  absl::flat_hash_map<std::string, int64> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#a51b50a5c2a40967051bf294bfdc958bc">integer_map</a>;</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#acb40202de0f627864ce07dc50a18f706"> 31</a></span>  absl::flat_hash_map<std::string, std::vector<int64>> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#acb40202de0f627864ce07dc50a18f706">integer_array_map</a>;</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#a37c64f3e91767559ba5183736fe5c557"> 32</a></span>  absl::flat_hash_map<std::string, double> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#a37c64f3e91767559ba5183736fe5c557">float_map</a>;</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#af767843148042b6db0169eda7ae0bfbe"> 33</a></span>  absl::flat_hash_map<std::string, std::vector<double>> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#af767843148042b6db0169eda7ae0bfbe">float_array_map</a>;</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#aa4c22aec467378e85e548075a5984fda"> 34</a></span>  absl::flat_hash_map<std::string, IntegerVariable*> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#aa4c22aec467378e85e548075a5984fda">variable_map</a>;</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  absl::flat_hash_map<std::string, std::vector<IntegerVariable*>></div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#a4c0aa6922f23dfc6bb773846b7ad6ebc"> 36</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#a4c0aa6922f23dfc6bb773846b7ad6ebc">variable_array_map</a>;</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#afba9266326cf8629fd07db76ba0ef18b"> 37</a></span>  absl::flat_hash_map<std::string, Domain> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#afba9266326cf8629fd07db76ba0ef18b">domain_map</a>;</div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_parser_context.html#ab4a90829fba5642acafbd16e3eb5802c"> 38</a></span>  absl::flat_hash_map<std::string, std::vector<Domain>> <a class="code" href="structoperations__research_1_1fz_1_1_parser_context.html#ab4a90829fba5642acafbd16e3eb5802c">domain_array_map</a>;</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>  </div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// An optional reference to a variable, or an integer value, used in</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// assignments during the declaration of a variable, or a variable</span></div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// array.</span></div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html"> 44</a></span> <span class="keyword">struct </span><a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> {</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a877bc05b0d4f3ea606bf374ac2f25de7"> 45</a></span>  <span class="keyword">static</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a877bc05b0d4f3ea606bf374ac2f25de7">Undefined</a>() {</div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> result;</div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">variable</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a> = 0;</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">defined</a> = <span class="keyword">false</span>;</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> result;</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a1353dd8330bb74882887f28913721d84"> 52</a></span>  <span class="keyword">static</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a1353dd8330bb74882887f28913721d84">VariableRef</a>(<a class="code" href="structoperations__research_1_1fz_1_1_integer_variable.html">IntegerVariable</a>* <a class="code" href="expr__array_8cc.html#a472a99923cbe11ae7b5a5d157d9ad465">var</a>) {</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> result;</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">variable</a> = <a class="code" href="expr__array_8cc.html#a472a99923cbe11ae7b5a5d157d9ad465">var</a>;</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a> = 0;</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">defined</a> = <span class="keyword">true</span>;</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> result;</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a47588c47640262fd720da41a1fa4fc78"> 59</a></span>  <span class="keyword">static</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a47588c47640262fd720da41a1fa4fc78">Value</a>(<a class="code" href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a>) {</div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> result;</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">variable</a> = <span class="keyword">nullptr</span>;</div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a> = <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a>;</div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  result.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">defined</a> = <span class="keyword">true</span>;</div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> result;</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"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab"> 67</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_integer_variable.html">IntegerVariable</a>* <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">variable</a>;</div>
|
|
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf"> 68</a></span>  <a class="code" href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a>;</div>
|
|
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0"> 69</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">defined</a>;</div>
|
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> };</div>
|
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
|
|
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html"> 72</a></span> <span class="keyword">struct </span><a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html">VariableRefOrValueArray</a> {</div>
|
|
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a1c594edc69f086045710775eb325a571"> 73</a></span>  std::vector<IntegerVariable*> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a1c594edc69f086045710775eb325a571">variables</a>;</div>
|
|
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#ae758394f0dff0d5d10a6b6c19d3dffdc"> 74</a></span>  std::vector<int64> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#ae758394f0dff0d5d10a6b6c19d3dffdc">values</a>;</div>
|
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
|
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a7d795c453044d4b8d2c1d9fab0dfe9d5"> 76</a></span>  <span class="keywordtype">void</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a7d795c453044d4b8d2c1d9fab0dfe9d5">PushBack</a>(<span class="keyword">const</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a>& v) {</div>
|
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="base_2logging_8h.html#a3e1cfef60e774a81f30eaddf26a3a274">CHECK</a>(v.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">defined</a>);</div>
|
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a1c594edc69f086045710775eb325a571">variables</a>.push_back(v.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">variable</a>);</div>
|
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#ae758394f0dff0d5d10a6b6c19d3dffdc">values</a>.push_back(v.<a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">value</a>);</div>
|
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div>
|
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
|
|
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a24926108b770033792d015cb86aeffb3"> 82</a></span>  <span class="keywordtype">int</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a24926108b770033792d015cb86aeffb3">Size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#ae758394f0dff0d5d10a6b6c19d3dffdc">values</a>.size(); }</div>
|
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> };</div>
|
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">// Class needed to pass information from the lexer to the parser.</span></div>
|
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// TODO(user): Use std::unique_ptr<vector< >> to ease memory management.</span></div>
|
|
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html"> 87</a></span> <span class="keyword">struct </span><a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html">LexerInfo</a> {</div>
|
|
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a4d5561fb185843828db8cf7f98c4be8e"> 88</a></span>  <a class="code" href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a4d5561fb185843828db8cf7f98c4be8e">integer_value</a>;</div>
|
|
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a7daf8650d5382eebb368a8ec7b3780e8"> 89</a></span>  <span class="keywordtype">double</span> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a7daf8650d5382eebb368a8ec7b3780e8">double_value</a>;</div>
|
|
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#aabc5f6077f4788f74af9317dc62b840e"> 90</a></span>  std::string <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#aabc5f6077f4788f74af9317dc62b840e">string_value</a>;</div>
|
|
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a1f1a69f8d8b037b72c2160ed12b3ef51"> 91</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_domain.html">Domain</a> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a1f1a69f8d8b037b72c2160ed12b3ef51">domain</a>;</div>
|
|
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a520e3f97792a94f443eb4d87caebea82"> 92</a></span>  std::vector<Domain>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a520e3f97792a94f443eb4d87caebea82">domains</a>;</div>
|
|
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a1fb319ef42d50a6ddd3ee6288cf12bed"> 93</a></span>  std::vector<int64>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a1fb319ef42d50a6ddd3ee6288cf12bed">integers</a>;</div>
|
|
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#aa4fd9a53aff6b317a55f982568e1fc7c"> 94</a></span>  std::vector<double>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#aa4fd9a53aff6b317a55f982568e1fc7c">doubles</a>;</div>
|
|
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a206ac227df1a989e5c7d9795d82663a8"> 95</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_argument.html">Argument</a> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a206ac227df1a989e5c7d9795d82663a8">arg</a>;</div>
|
|
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a3ca861244557085b910461d236c68197"> 96</a></span>  std::vector<Argument>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a3ca861244557085b910461d236c68197">args</a>;</div>
|
|
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#ab151b30fea0e0925e92cdd78d12841fd"> 97</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_annotation.html">Annotation</a> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#ab151b30fea0e0925e92cdd78d12841fd">annotation</a>;</div>
|
|
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#abd9d28a0c1e0edada138b21ec5831e75"> 98</a></span>  std::vector<Annotation>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#abd9d28a0c1e0edada138b21ec5831e75">annotations</a>;</div>
|
|
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a7bcbcafdbde0334ad62c562f1227fe46"> 99</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">VariableRefOrValue</a> <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a7bcbcafdbde0334ad62c562f1227fe46">var_or_value</a>;</div>
|
|
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structoperations__research_1_1fz_1_1_lexer_info.html#a9613bbbb6fd33c092a8dcb3e1776193f"> 100</a></span>  <a class="code" href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html">VariableRefOrValueArray</a>* <a class="code" href="structoperations__research_1_1fz_1_1_lexer_info.html#a9613bbbb6fd33c092a8dcb3e1776193f">var_or_value_array</a>;</div>
|
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> };</div>
|
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">// If the argument is an integer, return it as int64. Otherwise, die.</span></div>
|
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <a class="code" href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a> <a class="code" href="namespaceoperations__research_1_1fz.html#a2243617230094d3ef11ef0a163a1bb89">ConvertAsIntegerOrDie</a>(<span class="keywordtype">double</span> d);</div>
|
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> } <span class="comment">// namespace fz</span></div>
|
|
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> } <span class="comment">// namespace operations_research</span></div>
|
|
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="preprocessor">#endif // OR_TOOLS_FLATZINC_PARSER_UTIL_H_</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div class="ttc" id="aexpr__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#l01858">expr_array.cc:1858</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_af767843148042b6db0169eda7ae0bfbe"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#af767843148042b6db0169eda7ae0bfbe">operations_research::fz::ParserContext::float_array_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, std::vector< double > > float_array_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00033">parser_util.h:33</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a206ac227df1a989e5c7d9795d82663a8"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a206ac227df1a989e5c7d9795d82663a8">operations_research::fz::LexerInfo::arg</a></div><div class="ttdeci">Argument arg</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00095">parser_util.h:95</a></div></div>
|
|
<div class="ttc" id="amap__util_8h_html"><div class="ttname"><a href="map__util_8h.html">map_util.h</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_array_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html">operations_research::fz::VariableRefOrValueArray</a></div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00072">parser_util.h:72</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a7bcbcafdbde0334ad62c562f1227fe46"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a7bcbcafdbde0334ad62c562f1227fe46">operations_research::fz::LexerInfo::var_or_value</a></div><div class="ttdeci">VariableRefOrValue var_or_value</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00099">parser_util.h:99</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_array_html_a7d795c453044d4b8d2c1d9fab0dfe9d5"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a7d795c453044d4b8d2c1d9fab0dfe9d5">operations_research::fz::VariableRefOrValueArray::PushBack</a></div><div class="ttdeci">void PushBack(const VariableRefOrValue &v)</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00076">parser_util.h:76</a></div></div>
|
|
<div class="ttc" id="anamespaceoperations__research_1_1fz_html_a2243617230094d3ef11ef0a163a1bb89"><div class="ttname"><a href="namespaceoperations__research_1_1fz.html#a2243617230094d3ef11ef0a163a1bb89">operations_research::fz::ConvertAsIntegerOrDie</a></div><div class="ttdeci">int64 ConvertAsIntegerOrDie(double d)</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8cc_source.html#l00065">parser_util.cc:65</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_a51b50a5c2a40967051bf294bfdc958bc"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#a51b50a5c2a40967051bf294bfdc958bc">operations_research::fz::ParserContext::integer_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, int64 > integer_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00030">parser_util.h:30</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a874cabcf247bbbba8f2a66dad9c68fab"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a874cabcf247bbbba8f2a66dad9c68fab">operations_research::fz::VariableRefOrValue::variable</a></div><div class="ttdeci">IntegerVariable * variable</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00067">parser_util.h:67</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a1f1a69f8d8b037b72c2160ed12b3ef51"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a1f1a69f8d8b037b72c2160ed12b3ef51">operations_research::fz::LexerInfo::domain</a></div><div class="ttdeci">Domain domain</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00091">parser_util.h:91</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_annotation_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_annotation.html">operations_research::fz::Annotation</a></div><div class="ttdef"><b>Definition:</b> <a href="flatzinc_2model_8h_source.html#l00238">flatzinc/model.h:238</a></div></div>
|
|
<div class="ttc" id="aflatzinc_2model_8h_html"><div class="ttname"><a href="flatzinc_2model_8h.html">model.h</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_ab151b30fea0e0925e92cdd78d12841fd"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#ab151b30fea0e0925e92cdd78d12841fd">operations_research::fz::LexerInfo::annotation</a></div><div class="ttdeci">Annotation annotation</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00097">parser_util.h:97</a></div></div>
|
|
<div class="ttc" id="anamespaceoperations__research_html"><div class="ttname"><a href="namespaceoperations__research.html">operations_research</a></div><div class="ttdoc">The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...</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="astructoperations__research_1_1fz_1_1_lexer_info_html_abd9d28a0c1e0edada138b21ec5831e75"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#abd9d28a0c1e0edada138b21ec5831e75">operations_research::fz::LexerInfo::annotations</a></div><div class="ttdeci">std::vector< Annotation > * annotations</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00098">parser_util.h:98</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a520e3f97792a94f443eb4d87caebea82"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a520e3f97792a94f443eb4d87caebea82">operations_research::fz::LexerInfo::domains</a></div><div class="ttdeci">std::vector< Domain > * domains</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00092">parser_util.h:92</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html">operations_research::fz::VariableRefOrValue</a></div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00044">parser_util.h:44</a></div></div>
|
|
<div class="ttc" id="aintegral__types_8h_html_a7cde0074dfd288f2d70c0e035dacb28a"><div class="ttname"><a href="integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a">int64</a></div><div class="ttdeci">int64_t int64</div><div class="ttdef"><b>Definition:</b> <a href="integral__types_8h_source.html#l00034">integral_types.h:34</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_a4c0aa6922f23dfc6bb773846b7ad6ebc"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#a4c0aa6922f23dfc6bb773846b7ad6ebc">operations_research::fz::ParserContext::variable_array_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, std::vector< IntegerVariable * > > variable_array_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00036">parser_util.h:36</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a1353dd8330bb74882887f28913721d84"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a1353dd8330bb74882887f28913721d84">operations_research::fz::VariableRefOrValue::VariableRef</a></div><div class="ttdeci">static VariableRefOrValue VariableRef(IntegerVariable *var)</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00052">parser_util.h:52</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html">operations_research::fz::ParserContext</a></div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00029">parser_util.h:29</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a509014a43807c7ead9395235bce125e0"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a509014a43807c7ead9395235bce125e0">operations_research::fz::VariableRefOrValue::defined</a></div><div class="ttdeci">bool defined</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00069">parser_util.h:69</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a877bc05b0d4f3ea606bf374ac2f25de7"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a877bc05b0d4f3ea606bf374ac2f25de7">operations_research::fz::VariableRefOrValue::Undefined</a></div><div class="ttdeci">static VariableRefOrValue Undefined()</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00045">parser_util.h:45</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_acb40202de0f627864ce07dc50a18f706"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#acb40202de0f627864ce07dc50a18f706">operations_research::fz::ParserContext::integer_array_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, std::vector< int64 > > integer_array_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00031">parser_util.h:31</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_aa4c22aec467378e85e548075a5984fda"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#aa4c22aec467378e85e548075a5984fda">operations_research::fz::ParserContext::variable_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, IntegerVariable * > variable_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00034">parser_util.h:34</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_aa4fd9a53aff6b317a55f982568e1fc7c"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#aa4fd9a53aff6b317a55f982568e1fc7c">operations_research::fz::LexerInfo::doubles</a></div><div class="ttdeci">std::vector< double > * doubles</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00094">parser_util.h:94</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_argument_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_argument.html">operations_research::fz::Argument</a></div><div class="ttdef"><b>Definition:</b> <a href="flatzinc_2model_8h_source.html#l00143">flatzinc/model.h:143</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a47588c47640262fd720da41a1fa4fc78"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a47588c47640262fd720da41a1fa4fc78">operations_research::fz::VariableRefOrValue::Value</a></div><div class="ttdeci">static VariableRefOrValue Value(int64 value)</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00059">parser_util.h:59</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a3ca861244557085b910461d236c68197"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a3ca861244557085b910461d236c68197">operations_research::fz::LexerInfo::args</a></div><div class="ttdeci">std::vector< Argument > * args</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00096">parser_util.h:96</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_array_html_ae758394f0dff0d5d10a6b6c19d3dffdc"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#ae758394f0dff0d5d10a6b6c19d3dffdc">operations_research::fz::VariableRefOrValueArray::values</a></div><div class="ttdeci">std::vector< int64 > values</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00074">parser_util.h:74</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a7daf8650d5382eebb368a8ec7b3780e8"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a7daf8650d5382eebb368a8ec7b3780e8">operations_research::fz::LexerInfo::double_value</a></div><div class="ttdeci">double double_value</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00089">parser_util.h:89</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_afba9266326cf8629fd07db76ba0ef18b"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#afba9266326cf8629fd07db76ba0ef18b">operations_research::fz::ParserContext::domain_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, Domain > domain_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00037">parser_util.h:37</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_html_a21edc7ca4cc5802c8779d68556bc09cf"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value.html#a21edc7ca4cc5802c8779d68556bc09cf">operations_research::fz::VariableRefOrValue::value</a></div><div class="ttdeci">int64 value</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00068">parser_util.h:68</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_a37c64f3e91767559ba5183736fe5c557"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#a37c64f3e91767559ba5183736fe5c557">operations_research::fz::ParserContext::float_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, double > float_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00032">parser_util.h:32</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a4d5561fb185843828db8cf7f98c4be8e"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a4d5561fb185843828db8cf7f98c4be8e">operations_research::fz::LexerInfo::integer_value</a></div><div class="ttdeci">int64 integer_value</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00088">parser_util.h:88</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_integer_variable_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_integer_variable.html">operations_research::fz::IntegerVariable</a></div><div class="ttdef"><b>Definition:</b> <a href="flatzinc_2model_8h_source.html#l00107">flatzinc/model.h:107</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_aabc5f6077f4788f74af9317dc62b840e"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#aabc5f6077f4788f74af9317dc62b840e">operations_research::fz::LexerInfo::string_value</a></div><div class="ttdeci">std::string string_value</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00090">parser_util.h:90</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_array_html_a1c594edc69f086045710775eb325a571"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a1c594edc69f086045710775eb325a571">operations_research::fz::VariableRefOrValueArray::variables</a></div><div class="ttdeci">std::vector< IntegerVariable * > variables</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00073">parser_util.h:73</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html">operations_research::fz::LexerInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00087">parser_util.h:87</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_domain_html"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_domain.html">operations_research::fz::Domain</a></div><div class="ttdef"><b>Definition:</b> <a href="flatzinc_2model_8h_source.html#l00048">flatzinc/model.h:48</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_variable_ref_or_value_array_html_a24926108b770033792d015cb86aeffb3"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_variable_ref_or_value_array.html#a24926108b770033792d015cb86aeffb3">operations_research::fz::VariableRefOrValueArray::Size</a></div><div class="ttdeci">int Size() const</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00082">parser_util.h:82</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a1fb319ef42d50a6ddd3ee6288cf12bed"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a1fb319ef42d50a6ddd3ee6288cf12bed">operations_research::fz::LexerInfo::integers</a></div><div class="ttdeci">std::vector< int64 > * integers</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00093">parser_util.h:93</a></div></div>
|
|
<div class="ttc" id="abase_2logging_8h_html_a3e1cfef60e774a81f30eaddf26a3a274"><div class="ttname"><a href="base_2logging_8h.html#a3e1cfef60e774a81f30eaddf26a3a274">CHECK</a></div><div class="ttdeci">#define CHECK(condition)</div><div class="ttdef"><b>Definition:</b> <a href="base_2logging_8h_source.html#l00495">base/logging.h:495</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_lexer_info_html_a9613bbbb6fd33c092a8dcb3e1776193f"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_lexer_info.html#a9613bbbb6fd33c092a8dcb3e1776193f">operations_research::fz::LexerInfo::var_or_value_array</a></div><div class="ttdeci">VariableRefOrValueArray * var_or_value_array</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00100">parser_util.h:100</a></div></div>
|
|
<div class="ttc" id="astructoperations__research_1_1fz_1_1_parser_context_html_ab4a90829fba5642acafbd16e3eb5802c"><div class="ttname"><a href="structoperations__research_1_1fz_1_1_parser_context.html#ab4a90829fba5642acafbd16e3eb5802c">operations_research::fz::ParserContext::domain_array_map</a></div><div class="ttdeci">absl::flat_hash_map< std::string, std::vector< Domain > > domain_array_map</div><div class="ttdef"><b>Definition:</b> <a href="parser__util_8h_source.html#l00038">parser_util.h:38</a></div></div>
|
|
<!-- 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_92d538196d04323bb571488ea744da84.html">flatzinc</a></li><li class="navelem"><a class="el" href="parser__util_8h.html">parser_util.h</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.20 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|