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_1NumericalRevArray.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_1NumericalRevArray-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > operations_research::NumericalRevArray< T > 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> < br / >
class operations_research::NumericalRevArray< T > < / h3 >
2019-06-13 15:36:14 +02:00
2019-07-12 13:25:23 -07:00
< p > Subclass of RevArray< T> which adds numerical operations. < / 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__solver_8h_source.html#l03753" > 3753< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.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:a837710ab5c022c6ad8d0569847b40f84" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html#a837710ab5c022c6ad8d0569847b40f84" > NumericalRevArray< / a > (int < a class = "el" href = "classoperations__research_1_1RevArray.html#a0c7349d7ede9ab1e16cff1096d6afe8b" > size< / a > , const T & val)< / td > < / tr >
< tr class = "separator:a837710ab5c022c6ad8d0569847b40f84" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab4b135d5d6cfb30dbba7df17f1affd32" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html#ab4b135d5d6cfb30dbba7df17f1affd32" > Add< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s, int index, const T & to_add)< / td > < / tr >
< tr class = "separator:ab4b135d5d6cfb30dbba7df17f1affd32" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad69b795e0a7110fe1483711154e74d00" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html#ad69b795e0a7110fe1483711154e74d00" > Incr< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s, int index)< / td > < / tr >
< tr class = "separator:ad69b795e0a7110fe1483711154e74d00" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a394cdf85b4442ebcb0b4ea7f29697b5d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html#a394cdf85b4442ebcb0b4ea7f29697b5d" > Decr< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s, int index)< / td > < / tr >
< tr class = "separator:a394cdf85b4442ebcb0b4ea7f29697b5d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0c7349d7ede9ab1e16cff1096d6afe8b" > < td class = "memItemLeft" align = "right" valign = "top" > int64  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#a0c7349d7ede9ab1e16cff1096d6afe8b" > size< / a > () const< / td > < / tr >
< tr class = "separator:a0c7349d7ede9ab1e16cff1096d6afe8b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abad018c5f8a0e44bdfd6e17ab59612c7" > < td class = "memItemLeft" align = "right" valign = "top" > const T &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#abad018c5f8a0e44bdfd6e17ab59612c7" > Value< / a > (int index) const< / td > < / tr >
< tr class = "separator:abad018c5f8a0e44bdfd6e17ab59612c7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abb88b59866cff9f26ebb6f29e82b777a" > < td class = "memItemLeft" align = "right" valign = "top" > const T &   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#abb88b59866cff9f26ebb6f29e82b777a" > operator[]< / a > (int index) const< / td > < / tr >
< tr class = "separator:abb88b59866cff9f26ebb6f29e82b777a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6516d4adeaf28338dbc7ba2584d76919" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1RevArray.html#a6516d4adeaf28338dbc7ba2584d76919" > 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:a6516d4adeaf28338dbc7ba2584d76919" > < 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 = "a837710ab5c022c6ad8d0569847b40f84" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a837710ab5c022c6ad8d0569847b40f84" > ◆ < / a > < / span > NumericalRevArray()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html" > operations_research::NumericalRevArray< / a > < T > ::< a class = "el" href = "classoperations__research_1_1NumericalRevArray.html" > NumericalRevArray< / a > < / td >
< 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" >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03755" > 3755< / 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 >
< a id = "ab4b135d5d6cfb30dbba7df17f1affd32" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab4b135d5d6cfb30dbba7df17f1affd32" > ◆ < / a > < / span > Add()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html" > operations_research::NumericalRevArray< / a > < T > ::Add < / td >
< 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 > to_add< / 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__solver_8h_source.html#l03757" > 3757< / 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 >
< a id = "a394cdf85b4442ebcb0b4ea7f29697b5d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a394cdf85b4442ebcb0b4ea7f29697b5d" > ◆ < / a > < / span > Decr()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html" > operations_research::NumericalRevArray< / a > < T > ::Decr < / td >
< 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 > < / 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__solver_8h_source.html#l03763" > 3763< / 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 >
< a id = "ad69b795e0a7110fe1483711154e74d00" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad69b795e0a7110fe1483711154e74d00" > ◆ < / a > < / span > Incr()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T > < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classoperations__research_1_1NumericalRevArray.html" > operations_research::NumericalRevArray< / a > < T > ::Incr < / td >
< 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 > < / 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__solver_8h_source.html#l03761" > 3761< / 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 >
< a id = "abb88b59866cff9f26ebb6f29e82b777a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#abb88b59866cff9f26ebb6f29e82b777a" > ◆ < / a > < / span > operator[]()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const T& < a class = "el" href = "classoperations__research_1_1RevArray.html" > operations_research::RevArray< / a > < T > ::operator[] < / td >
< 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 class = "mlabel" > inherited< / 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__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 >
< a id = "a6516d4adeaf28338dbc7ba2584d76919" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6516d4adeaf28338dbc7ba2584d76919" > ◆ < / a > < / span > SetValue()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void < a class = "el" href = "classoperations__research_1_1RevArray.html" > operations_research::RevArray< / a > < T > ::SetValue < / td >
< 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 class = "mlabel" > inherited< / 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__solver_8h_source.html#l03734" > 3734< / 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 >
< a id = "a0c7349d7ede9ab1e16cff1096d6afe8b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0c7349d7ede9ab1e16cff1096d6afe8b" > ◆ < / a > < / span > size()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > int64 < a class = "el" href = "classoperations__research_1_1RevArray.html" > operations_research::RevArray< / a > < T > ::size < / td >
< 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 class = "mlabel" > inherited< / 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__solver_8h_source.html#l03726" > 3726< / 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 >
< a id = "abad018c5f8a0e44bdfd6e17ab59612c7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#abad018c5f8a0e44bdfd6e17ab59612c7" > ◆ < / a > < / span > Value()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< div class = "memtemplate" >
template< class T> < / div >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > const T& < a class = "el" href = "classoperations__research_1_1RevArray.html" > operations_research::RevArray< / a > < T > ::Value < / td >
< 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 class = "mlabel" > inherited< / 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__solver_8h_source.html#l03728" > 3728< / 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-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 >