199 lines
30 KiB
HTML
199 lines
30 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: sparse_row.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('sparse__row_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">sparse_row.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="sparse__row_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="preprocessor">#ifndef OR_TOOLS_LP_DATA_SPARSE_ROW_H_</span></div>
|
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#define OR_TOOLS_LP_DATA_SPARSE_ROW_H_</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">#include "<a class="code" href="sparse__vector_8h.html">ortools/lp_data/sparse_vector.h</a>"</span></div>
|
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">namespace </span><a class="code" href="namespaceoperations__research.html">operations_research</a> {</div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span>glop {</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="comment">// Specialization of SparseVectorEntry and SparseVectorIterator for the</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// SparseRow class. In addition to index(), it also provides col() for better</span></div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">// readability on the client side.</span></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html"> 25</a></span> <span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html">SparseRowEntry</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector_entry.html">SparseVectorEntry</a><ColIndex> {</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// Returns the row of the current entry.</span></div>
|
|
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#ad2f61384cd85d045e92d7b6bf41da8c0"> 28</a></span>  ColIndex <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#ad2f61384cd85d045e92d7b6bf41da8c0">col</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector_entry.html#a70df641c5212f2d7cd26b31595daa5b2">index</a>(); }</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">protected</span>:</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#a5a7ac2aef33e874f5a6361035813d97c"> 31</a></span>  <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#a5a7ac2aef33e874f5a6361035813d97c">SparseRowEntry</a>(<span class="keyword">const</span> ColIndex* indices, <span class="keyword">const</span> <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a>* <a class="code" href="sat_2lp__utils_8cc.html#ab1734711414da2e668957d24a41b1ddf">coefficients</a>,</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  EntryIndex i)</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  : <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector_entry.html">SparseVectorEntry</a><ColIndex>(indices, <a class="code" href="sat_2lp__utils_8cc.html#ab1734711414da2e668957d24a41b1ddf">coefficients</a>, i) {}</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="namespaceoperations__research_1_1glop.html#a99de09997c4882200f3f8699426a8705"> 35</a></span> <span class="keyword">using</span> <a class="code" href="classoperations__research_1_1glop_1_1_vector_iterator.html">SparseRowIterator</a> = <a class="code" href="classoperations__research_1_1glop_1_1_vector_iterator.html">VectorIterator<SparseRowEntry></a>;</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// TODO(user): Use this class where appropriate, i.e. when a SparseColumn is</span></div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// used to store a row vector (by means of RowIndex to ColIndex casting).</span></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> <span class="comment">// A SparseRow is a SparseVector<ColIndex>, with a few methods renamed</span></div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// to help readability on the client side.</span></div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html"> 42</a></span> <span class="keyword">class </span><a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html">SparseRow</a> : <span class="keyword">public</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html">SparseVector</a><ColIndex, SparseRowIterator> {</div>
|
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">public</span>:</div>
|
|
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#a524ba63486ca949d3050af5818c67fdf"> 44</a></span>  <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#a524ba63486ca949d3050af5818c67fdf">SparseRow</a>() : <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html">SparseVector</a><ColIndex, <a class="code" href="classoperations__research_1_1glop_1_1_vector_iterator.html">SparseRowIterator</a>>() {}</div>
|
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Use a separate API to get the column and coefficient of entry #i.</span></div>
|
|
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#addbcb3a633e6f7c1821885bc3c3a1ec0"> 47</a></span>  ColIndex <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#addbcb3a633e6f7c1821885bc3c3a1ec0">EntryCol</a>(EntryIndex i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#a2a98cf268b78708b773df1b95dcba545">GetIndex</a>(i); }</div>
|
|
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#aaef7fc778a29bb3bb3040c0423937f6e"> 48</a></span>  <a class="code" href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">Fractional</a> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#aaef7fc778a29bb3bb3040c0423937f6e">EntryCoefficient</a>(EntryIndex i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#aee58c48c57d6575064f1dd9a66077fad">GetCoefficient</a>(i); }</div>
|
|
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#ac7aeea870e050d046a4406febf69918b"> 49</a></span>  ColIndex <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#ac7aeea870e050d046a4406febf69918b">GetFirstCol</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#a8fb138af3a08b1c6a806ea4c094f8fa6">GetFirstIndex</a>(); }</div>
|
|
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#a6a3339b51e8e2ebb9f0d258f211d9a64"> 50</a></span>  ColIndex <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#a6a3339b51e8e2ebb9f0d258f211d9a64">GetLastCol</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#a88e72aace64cc885956a2a9784768ebb">GetLastIndex</a>(); }</div>
|
|
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#a5601b59f006138b2578e7d9810cb4ef6"> 51</a></span>  <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#a5601b59f006138b2578e7d9810cb4ef6">ApplyColPermutation</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1_permutation.html">ColumnPermutation</a>& p) {</div>
|
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#a26c6671e6e61e499345478296662f877">ApplyIndexPermutation</a>(p);</div>
|
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div>
|
|
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classoperations__research_1_1glop_1_1_sparse_row.html#a66ebc81a389474da32572830d328bc19"> 54</a></span>  <span class="keywordtype">void</span> <a class="code" href="classoperations__research_1_1glop_1_1_sparse_row.html#a66ebc81a389474da32572830d328bc19">ApplyPartialColPermutation</a>(<span class="keyword">const</span> <a class="code" href="classoperations__research_1_1glop_1_1_permutation.html">ColumnPermutation</a>& p) {</div>
|
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classoperations__research_1_1glop_1_1_sparse_vector.html#ab8dd8d63ac93466fd078c53589bb3222">ApplyPartialIndexPermutation</a>(p);</div>
|
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div>
|
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> };</div>
|
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// A matrix stored by rows.</span></div>
|
|
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespaceoperations__research_1_1glop.html#ab263c6960172d5bd4ddef121574dcf01"> 60</a></span> <span class="keyword">typedef</span> <a class="code" href="classabsl_1_1_strong_vector.html">absl::StrongVector<RowIndex, SparseRow></a> <a class="code" href="namespaceoperations__research_1_1glop.html#ab263c6960172d5bd4ddef121574dcf01">RowMajorSparseMatrix</a>;</div>
|
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> } <span class="comment">// namespace glop</span></div>
|
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> } <span class="comment">// namespace operations_research</span></div>
|
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif // OR_TOOLS_LP_DATA_SPARSE_ROW_H_</span></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_a66ebc81a389474da32572830d328bc19"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#a66ebc81a389474da32572830d328bc19">operations_research::glop::SparseRow::ApplyPartialColPermutation</a></div><div class="ttdeci">void ApplyPartialColPermutation(const ColumnPermutation &p)</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00054">sparse_row.h:54</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_a5601b59f006138b2578e7d9810cb4ef6"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#a5601b59f006138b2578e7d9810cb4ef6">operations_research::glop::SparseRow::ApplyColPermutation</a></div><div class="ttdeci">void ApplyColPermutation(const ColumnPermutation &p)</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00051">sparse_row.h:51</a></div></div>
|
|
<div class="ttc" id="asat_2lp__utils_8cc_html_ab1734711414da2e668957d24a41b1ddf"><div class="ttname"><a href="sat_2lp__utils_8cc.html#ab1734711414da2e668957d24a41b1ddf">coefficients</a></div><div class="ttdeci">std::vector< double > coefficients</div><div class="ttdef"><b>Definition:</b> <a href="sat_2lp__utils_8cc_source.html#l00497">sat/lp_utils.cc:497</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_ac7aeea870e050d046a4406febf69918b"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#ac7aeea870e050d046a4406febf69918b">operations_research::glop::SparseRow::GetFirstCol</a></div><div class="ttdeci">ColIndex GetFirstCol() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00049">sparse_row.h:49</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html_a8fb138af3a08b1c6a806ea4c094f8fa6"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#a8fb138af3a08b1c6a806ea4c094f8fa6">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::GetFirstIndex</a></div><div class="ttdeci">Index GetFirstIndex() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00279">sparse_vector.h:279</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="aclassoperations__research_1_1glop_1_1_sparse_vector_html_a26c6671e6e61e499345478296662f877"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#a26c6671e6e61e499345478296662f877">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::ApplyIndexPermutation</a></div><div class="ttdeci">void ApplyIndexPermutation(const IndexPermutation &index_perm)</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00254">sparse_vector.h:926</a></div></div>
|
|
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_a733947145e3e1631165b618b05c9ccb7"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#a733947145e3e1631165b618b05c9ccb7">operations_research::glop::Fractional</a></div><div class="ttdeci">double Fractional</div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00077">lp_types.h:77</a></div></div>
|
|
<div class="ttc" id="asparse__vector_8h_html"><div class="ttname"><a href="sparse__vector_8h.html">sparse_vector.h</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_aaef7fc778a29bb3bb3040c0423937f6e"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#aaef7fc778a29bb3bb3040c0423937f6e">operations_research::glop::SparseRow::EntryCoefficient</a></div><div class="ttdeci">Fractional EntryCoefficient(EntryIndex i) const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00048">sparse_row.h:48</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html">operations_research::glop::SparseVector</a></div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00083">sparse_vector.h:83</a></div></div>
|
|
<div class="ttc" id="anamespaceoperations__research_1_1glop_html_ab263c6960172d5bd4ddef121574dcf01"><div class="ttname"><a href="namespaceoperations__research_1_1glop.html#ab263c6960172d5bd4ddef121574dcf01">operations_research::glop::RowMajorSparseMatrix</a></div><div class="ttdeci">absl::StrongVector< RowIndex, SparseRow > RowMajorSparseMatrix</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00060">sparse_row.h:60</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_entry_html_ad2f61384cd85d045e92d7b6bf41da8c0"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#ad2f61384cd85d045e92d7b6bf41da8c0">operations_research::glop::SparseRowEntry::col</a></div><div class="ttdeci">ColIndex col() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00028">sparse_row.h:28</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_entry_html_a70df641c5212f2d7cd26b31595daa5b2"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector_entry.html#a70df641c5212f2d7cd26b31595daa5b2">operations_research::glop::SparseVectorEntry< ColIndex >::index</a></div><div class="ttdeci">Index index() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00415">sparse_vector.h:415</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html_a2a98cf268b78708b773df1b95dcba545"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#a2a98cf268b78708b773df1b95dcba545">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::GetIndex</a></div><div class="ttdeci">Index GetIndex(EntryIndex i) const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00344">sparse_vector.h:344</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_entry_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row_entry.html">operations_research::glop::SparseRowEntry</a></div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00025">sparse_row.h:25</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_addbcb3a633e6f7c1821885bc3c3a1ec0"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#addbcb3a633e6f7c1821885bc3c3a1ec0">operations_research::glop::SparseRow::EntryCol</a></div><div class="ttdeci">ColIndex EntryCol(EntryIndex i) const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00047">sparse_row.h:47</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_permutation_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_permutation.html">operations_research::glop::Permutation< ColIndex ></a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_a524ba63486ca949d3050af5818c67fdf"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#a524ba63486ca949d3050af5818c67fdf">operations_research::glop::SparseRow::SparseRow</a></div><div class="ttdeci">SparseRow()</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00044">sparse_row.h:44</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_entry_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector_entry.html">operations_research::glop::SparseVectorEntry</a></div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00411">sparse_vector.h:411</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html">operations_research::glop::SparseRow</a></div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00042">sparse_row.h:42</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_vector_iterator_html"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_vector_iterator.html">operations_research::glop::VectorIterator</a></div><div class="ttdef"><b>Definition:</b> <a href="lp__types_8h_source.html#l00356">lp_types.h:356</a></div></div>
|
|
<div class="ttc" id="aclassabsl_1_1_strong_vector_html"><div class="ttname"><a href="classabsl_1_1_strong_vector.html">absl::StrongVector</a></div><div class="ttdef"><b>Definition:</b> <a href="strong__vector_8h_source.html#l00076">strong_vector.h:76</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html_a88e72aace64cc885956a2a9784768ebb"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#a88e72aace64cc885956a2a9784768ebb">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::GetLastIndex</a></div><div class="ttdeci">Index GetLastIndex() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00289">sparse_vector.h:289</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_entry_html_a5a7ac2aef33e874f5a6361035813d97c"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row_entry.html#a5a7ac2aef33e874f5a6361035813d97c">operations_research::glop::SparseRowEntry::SparseRowEntry</a></div><div class="ttdeci">SparseRowEntry(const ColIndex *indices, const Fractional *coefficients, EntryIndex i)</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00031">sparse_row.h:31</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html_aee58c48c57d6575064f1dd9a66077fad"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#aee58c48c57d6575064f1dd9a66077fad">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::GetCoefficient</a></div><div class="ttdeci">Fractional GetCoefficient(EntryIndex i) const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00349">sparse_vector.h:349</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_row_html_a6a3339b51e8e2ebb9f0d258f211d9a64"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_row.html#a6a3339b51e8e2ebb9f0d258f211d9a64">operations_research::glop::SparseRow::GetLastCol</a></div><div class="ttdeci">ColIndex GetLastCol() const</div><div class="ttdef"><b>Definition:</b> <a href="sparse__row_8h_source.html#l00050">sparse_row.h:50</a></div></div>
|
|
<div class="ttc" id="aclassoperations__research_1_1glop_1_1_sparse_vector_html_ab8dd8d63ac93466fd078c53589bb3222"><div class="ttname"><a href="classoperations__research_1_1glop_1_1_sparse_vector.html#ab8dd8d63ac93466fd078c53589bb3222">operations_research::glop::SparseVector< ColIndex, SparseRowIterator >::ApplyPartialIndexPermutation</a></div><div class="ttdeci">void ApplyPartialIndexPermutation(const IndexPermutation &index_perm)</div><div class="ttdef"><b>Definition:</b> <a href="sparse__vector_8h_source.html#l00258">sparse_vector.h:934</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_903a7ff076ee7f01be86992fe717fc82.html">lp_data</a></li><li class="navelem"><a class="el" href="sparse__row_8h.html">sparse_row.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>
|