2019-06-13 15:36:14 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< title > OR-Tools< / title >
< meta http-equiv = "Content-Type" content = "text/html;" / >
< meta charset = "utf-8" / >
<!-- <link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/> -->
2019-06-20 23:08:48 +02:00
< link rel = "stylesheet" type = "text/css" href = "ortools.css" title = "default" media = "screen,print" / >
2019-06-13 15:36:14 +02:00
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< / head >
< body >
< div id = "banner-container" >
< div id = "banner" >
2019-06-29 18:18:08 +02:00
< span id = "sfml" > OR-Tools 7.2< / span >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-06-29 18:18:08 +02:00
< link rel = "icon" href = "https://developers.google.com/optimization/images/orLogo.png" >
2019-06-13 15:36:14 +02:00
< div id = "content" >
<!-- Generated by Doxygen 1.8.15 -->
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li class = "current" > < a href = "annotated.html" > < span > Classes< / span > < / a > < / li >
2019-07-15 17:42:24 -07:00
< li > < a href = "files.html" > < span > Files< / span > < / a > < / li >
2019-06-13 15:36:14 +02:00
< / ul >
< / div >
2019-07-12 13:25:23 -07:00
< / 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">
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-07-12 13:25:23 -07:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classoperations__research_1_1RevGrowingArray.html','');});
/* @license-end */
< / script >
< div id = "doc-content" >
2019-06-13 15:36:14 +02:00
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classoperations__research_1_1RevGrowingArray-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > operations_research::RevGrowingArray< T, C > Class Template Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2019-07-12 13:25:23 -07:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < h3 > template< class T, class C> < br / >
class operations_research::RevGrowingArray< T, C > < / h3 >
2019-06-13 15:36:14 +02:00
2019-07-12 13:25:23 -07:00
< p > This class is a reversible growing array. < / p >
< p > In can grow in both directions, and even accept negative indices. The objects stored have a type T. As it relies on the solver for reversibility, these objects can be up-casted to 'C' when using < a class = "el" href = "classoperations__research_1_1Solver.html#add51e06535f44461347658d8ce59979a" title = "reversibility" > Solver::SaveValue()< / a > . < / p >
2019-06-13 15:36:14 +02:00
2019-07-12 13:25:23 -07:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l02227" > 2227< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
< / div > < table class = "memberdecls" >
2019-06-13 15:36:14 +02:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a2140cdbff14a28d0fb0d30363255f075" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html#a2140cdbff14a28d0fb0d30363255f075" > RevGrowingArray< / a > (int64 block_size)< / td > < / tr >
< tr class = "separator:a2140cdbff14a28d0fb0d30363255f075" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3e0d45ffcf2c17ae2c7f6ec631fea636" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html#a3e0d45ffcf2c17ae2c7f6ec631fea636" > ~RevGrowingArray< / a > ()< / td > < / tr >
< tr class = "separator:a3e0d45ffcf2c17ae2c7f6ec631fea636" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1dfca41dc5907bcf0fde8b5c37c4c8c2" > < td class = "memItemLeft" align = "right" valign = "top" > T  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html#a1dfca41dc5907bcf0fde8b5c37c4c8c2" > At< / a > (int64 index) const< / td > < / tr >
< tr class = "separator:a1dfca41dc5907bcf0fde8b5c37c4c8c2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2019-07-05 00:25:55 +02:00
< tr class = "memitem:aa66c900368ad9fa24d3a256493792330" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html#aa66c900368ad9fa24d3a256493792330" > RevInsert< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const solver, int64 index, T value)< / td > < / tr >
2019-06-13 15:36:14 +02:00
< tr class = "separator:aa66c900368ad9fa24d3a256493792330" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
2019-07-12 13:25:23 -07:00
< h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2019-06-13 15:36:14 +02:00
< a id = "a2140cdbff14a28d0fb0d30363255f075" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2140cdbff14a28d0fb0d30363255f075" > ◆ < / a > < / span > RevGrowingArray()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T , class C > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > operations_research::RevGrowingArray< / a > < T, C > ::< a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > RevGrowingArray< / a > < / td >
< td > (< / td >
< td class = "paramtype" > int64  < / td >
< td class = "paramname" > < em > block_size< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > explicit< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l02229" > 2229< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
< a id = "a3e0d45ffcf2c17ae2c7f6ec631fea636" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3e0d45ffcf2c17ae2c7f6ec631fea636" > ◆ < / a > < / span > ~RevGrowingArray()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T , class C > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > operations_research::RevGrowingArray< / a > < T, C > ::~< a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > RevGrowingArray< / a > < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l02234" > 2234< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
< a id = "a1dfca41dc5907bcf0fde8b5c37c4c8c2" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1dfca41dc5907bcf0fde8b5c37c4c8c2" > ◆ < / a > < / span > At()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T , class C > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > T < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > operations_research::RevGrowingArray< / a > < T, C > ::At < / td >
< td > (< / td >
< td class = "paramtype" > int64  < / td >
< td class = "paramname" > < em > index< / em > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l02240" > 2240< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
< a id = "aa66c900368ad9fa24d3a256493792330" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa66c900368ad9fa24d3a256493792330" > ◆ < / a > < / span > RevInsert()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T , class C > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classoperations__research_1_1RevGrowingArray.html" > operations_research::RevGrowingArray< / a > < T, C > ::RevInsert < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const  < / td >
< td class = "paramname" > < em > solver< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int64  < / td >
< td class = "paramname" > < em > index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > T  < / td >
< td class = "paramname" > < em > value< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l02250" > 2250< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following file:< ul >
< li > < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > < / li >
< / ul >
< / div > <!-- contents -->
2019-07-12 13:25:23 -07:00
< / div > <!-- doc - content -->
2019-06-13 15:36:14 +02:00
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
< / html >