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" >
2020-01-27 13:48:26 +01:00
< span id = "sfml" > Google OR-Tools 7.5< / span >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< div id = "content" style = "width: 100%; overflow: hidden;" >
< div style = "margin-left: 15px; margin-top: 5px; float: left; color: #145A32;" >
2019-08-12 09:16:03 -07:00
< h2 > C++ Reference< / h2 >
2019-08-07 18:01:08 -07:00
< ul >
< li > < a href = "../cpp_algorithms/annotated.html" > Algorithms< / a > < / li >
2019-08-12 09:16:03 -07:00
< li > < a href = "../cpp_sat/annotated.html" > CP-SAT< / a > < / li >
2019-08-07 18:01:08 -07:00
< li > < a href = "../cpp_graph/annotated.html" > Graph< / a > < / li >
< li > < a href = "../cpp_routing/annotated.html" > Routing< / a > < / li >
< li > < a href = "../cpp_linear/annotated.html" > Linear solver< / a > < / li >
< / ul >
< / div >
2019-06-13 15:36:14 +02:00
< div id = "content" >
2019-08-07 18:01:08 -07:00
< div align = "center" >
< h1 style = "color: #145A32;" > C++ Reference: Routing< / h1 >
< / div >
2020-04-23 15:34:43 +02:00
<!-- Generated by Doxygen 1.8.16 -->
2019-06-13 15:36:14 +02:00
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< 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-08-07 18:01:08 -07:00
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "namespaceoperations__research.html" > operations_research< / a > < / li > < li class = "navelem" > < a class = "el" href = "classoperations__research_1_1RevArray.html" > RevArray< / a > < / li > < / ul >
2019-06-13 15:36:14 +02:00
< / div >
2019-08-07 18:01:08 -07:00
< / div > <!-- top -->
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_1RevArray-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
2019-08-07 18:01:08 -07:00
< div class = "title" > RevArray< T > < / div > < / div >
2019-06-13 15:36:14 +02:00
< / div > <!-- header -->
< div class = "contents" >
2019-08-12 23:15:11 -07:00
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
< div class = "textblock" > < h3 > template< class T> < br / >
class operations_research::RevArray< T > < / h3 >
2019-08-07 18:01:08 -07:00
2019-08-12 23:15:11 -07:00
< p > Reversible array of POD types. < / p >
< p > It contains the stamp optimization. I.e., the SaveValue call is done only once per node of the search tree. Please note that actual stamp always starts at 1, thus an initial value of 0 always triggers the first SaveValue. < / p >
2019-08-07 18:01:08 -07:00
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03729" > 3729< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-08-12 23:15:11 -07:00
< / div > < table class = "memberdecls" >
2019-08-07 18:01:08 -07:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "pub-methods" > < / a >
Public Member Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a6ee1e316ed04f92451652ee0853d6980" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#a6ee1e316ed04f92451652ee0853d6980" > RevArray< / a > (int < a class = "el" href = "classoperations__research_1_1RevArray.html#a53616c71ad0a199caa949b8e32679b59" > size< / a > , const T & val)< / td > < / tr >
< tr class = "separator:a6ee1e316ed04f92451652ee0853d6980" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad03255d57248b6a11f3b236f7164266b" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#ad03255d57248b6a11f3b236f7164266b" > ~RevArray< / a > ()< / td > < / tr >
< tr class = "separator:ad03255d57248b6a11f3b236f7164266b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a53616c71ad0a199caa949b8e32679b59" > < td class = "memItemLeft" align = "right" valign = "top" > int64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#a53616c71ad0a199caa949b8e32679b59" > size< / a > () const< / td > < / tr >
< tr class = "separator:a53616c71ad0a199caa949b8e32679b59" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a277a26f3089bbfa46c8c3155efe5132b" > < td class = "memItemLeft" align = "right" valign = "top" > const T &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#a277a26f3089bbfa46c8c3155efe5132b" > Value< / a > (int index) const< / td > < / tr >
< tr class = "separator:a277a26f3089bbfa46c8c3155efe5132b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab3f0073680dabba9d2778d9a6f35aed7" > < td class = "memItemLeft" align = "right" valign = "top" > const T &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#ab3f0073680dabba9d2778d9a6f35aed7" > operator[]< / a > (int index) const< / td > < / tr >
< tr class = "separator:ab3f0073680dabba9d2778d9a6f35aed7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aae1ddec3323cbaa8f2b29e1d211cb5c7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#aae1ddec3323cbaa8f2b29e1d211cb5c7" > SetValue< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s, int index, const T & val)< / td > < / tr >
< tr class = "separator:aae1ddec3323cbaa8f2b29e1d211cb5c7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
2019-08-12 23:15:11 -07:00
< h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2019-08-07 18:01:08 -07:00
< a id = "a6ee1e316ed04f92451652ee0853d6980" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6ee1e316ed04f92451652ee0853d6980" > ◆ < / a > < / span > RevArray()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1RevArray.html" > RevArray< / a > < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > size< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const T &   < / td >
< td class = "paramname" > < em > val< / 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03731" > 3731< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "ad03255d57248b6a11f3b236f7164266b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad03255d57248b6a11f3b236f7164266b" > ◆ < / a > < / span > ~RevArray()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > ~< a class = "el" href = "classoperations__research_1_1RevArray.html" > RevArray< / a > < / td >
2019-06-13 15:36:14 +02:00
< 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03739" > 3739< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2019-08-07 18:01:08 -07:00
< a id = "ab3f0073680dabba9d2778d9a6f35aed7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab3f0073680dabba9d2778d9a6f35aed7" > ◆ < / a > < / span > operator[]()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > const T& operator[] < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramtype" > int  < / 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03746" > 3746< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "aae1ddec3323cbaa8f2b29e1d211cb5c7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aae1ddec3323cbaa8f2b29e1d211cb5c7" > ◆ < / a > < / span > SetValue()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > void SetValue < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const  < / td >
< td class = "paramname" > < em > s< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const T &   < / td >
< td class = "paramname" > < em > val< / 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03749" > 3749< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "a53616c71ad0a199caa949b8e32679b59" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a53616c71ad0a199caa949b8e32679b59" > ◆ < / a > < / span > size()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > int64 size < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramname" > < / 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03741" > 3741< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2019-06-13 15:36:14 +02:00
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "a277a26f3089bbfa46c8c3155efe5132b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a277a26f3089bbfa46c8c3155efe5132b" > ◆ < / a > < / span > Value()< / h2 >
2019-06-13 15:36:14 +02:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2019-08-07 18:01:08 -07:00
< td class = "memname" > const T& Value < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramtype" > int  < / 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" >
2020-01-27 13:48:26 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03743" > 3743< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.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__solver_8h_source.html" > constraint_solver.h< / a > < / li >
< / ul >
< / div > <!-- contents -->
2019-08-07 18:01:08 -07:00
< / div >
2019-06-13 15:36:14 +02:00
< / div >
< div id = "footer-container" >
< div id = "footer" >
< / div >
< / div >
< / body >
< / html >