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_1DelayedCallMethod2.html" > DelayedCallMethod2< / 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_1DelayedCallMethod2-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
2019-08-07 18:01:08 -07:00
< div class = "title" > DelayedCallMethod2< T, P, Q > < / 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, class P, class Q> < br / >
class operations_research::DelayedCallMethod2< T, P, Q > < / h3 >
2019-08-07 18:01:08 -07:00
2019-08-12 23:15:11 -07:00
< p > Low-priority demon proxy to a method on the constraint with two arguments. < / p >
2019-08-07 18:01:08 -07:00
2019-08-12 23:15:11 -07:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00739" > 739< / a > of file < a class = "el" href = "constraint__solveri_8h_source.html" > constraint_solveri.h< / a > .< / p >
< / 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:a49265dec10e3d62758187d11a022df4c" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#a49265dec10e3d62758187d11a022df4c" > DelayedCallMethod2< / a > (T *const ct, void(T::*method)(P, Q), const std::string & name, P param1, Q param2)< / td > < / tr >
< tr class = "separator:a49265dec10e3d62758187d11a022df4c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a48ef3b8afff6d3904fcbe52d8c65ccb8" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#a48ef3b8afff6d3904fcbe52d8c65ccb8" > ~DelayedCallMethod2< / a > () override< / td > < / tr >
< tr class = "separator:a48ef3b8afff6d3904fcbe52d8c65ccb8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac863f0fdd6a476ca003c99f58f14e623" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#ac863f0fdd6a476ca003c99f58f14e623" > Run< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s) override< / td > < / tr >
2019-11-14 13:52:51 -08:00
< tr class = "memdesc:ac863f0fdd6a476ca003c99f58f14e623" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This is the main callback of the demon. < a href = "classoperations__research_1_1DelayedCallMethod2.html#ac863f0fdd6a476ca003c99f58f14e623" > More...< / a > < br / > < / td > < / tr >
2019-08-07 18:01:08 -07:00
< tr class = "separator:ac863f0fdd6a476ca003c99f58f14e623" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0a34701cff1b1ac2fabd11e27c7cebc9" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classoperations__research_1_1Solver.html#a293233c46e5eaa308f65c7c2350553f7" > Solver::DemonPriority< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#a0a34701cff1b1ac2fabd11e27c7cebc9" > priority< / a > () const override< / td > < / tr >
2019-11-14 13:52:51 -08:00
< tr class = "memdesc:a0a34701cff1b1ac2fabd11e27c7cebc9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method returns the priority of the demon. < a href = "classoperations__research_1_1DelayedCallMethod2.html#a0a34701cff1b1ac2fabd11e27c7cebc9" > More...< / a > < br / > < / td > < / tr >
2019-08-07 18:01:08 -07:00
< tr class = "separator:a0a34701cff1b1ac2fabd11e27c7cebc9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aed804747c45a7e1caf81461f9e45dd91" > < td class = "memItemLeft" align = "right" valign = "top" > std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#aed804747c45a7e1caf81461f9e45dd91" > DebugString< / a > () const override< / td > < / tr >
< tr class = "separator:aed804747c45a7e1caf81461f9e45dd91" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0c1ff1e86b1eb08d0f87eab2943dac2a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1Demon.html#a0c1ff1e86b1eb08d0f87eab2943dac2a" > inhibit< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s)< / td > < / tr >
2019-11-14 13:52:51 -08:00
< tr class = "memdesc:a0c1ff1e86b1eb08d0f87eab2943dac2a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method inhibits the demon in the search tree below the current position. < a href = "classoperations__research_1_1Demon.html#a0c1ff1e86b1eb08d0f87eab2943dac2a" > More...< / a > < br / > < / td > < / tr >
2019-08-07 18:01:08 -07:00
< tr class = "separator:a0c1ff1e86b1eb08d0f87eab2943dac2a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2baabc490b7cd5aa80136e07b358cb21" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1Demon.html#a2baabc490b7cd5aa80136e07b358cb21" > desinhibit< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s)< / td > < / tr >
2019-11-14 13:52:51 -08:00
< tr class = "memdesc:a2baabc490b7cd5aa80136e07b358cb21" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method un-inhibits the demon that was previously inhibited. < a href = "classoperations__research_1_1Demon.html#a2baabc490b7cd5aa80136e07b358cb21" > More...< / a > < br / > < / td > < / tr >
2019-08-07 18:01:08 -07:00
< tr class = "separator:a2baabc490b7cd5aa80136e07b358cb21" > < 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 = "a49265dec10e3d62758187d11a022df4c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a49265dec10e3d62758187d11a022df4c" > ◆ < / a > < / span > DelayedCallMethod2()< / 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_1DelayedCallMethod2.html" > DelayedCallMethod2< / a > < / td >
2019-06-13 15:36:14 +02:00
< td > (< / td >
< td class = "paramtype" > T *const  < / td >
< td class = "paramname" > < em > ct< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > void(T::*)(P, Q)  < / td >
< td class = "paramname" > < em > method< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > name< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > P  < / td >
< td class = "paramname" > < em > param1< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > Q  < / td >
< td class = "paramname" > < em > param2< / 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#l00741" > 741< / 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 >
2019-08-07 18:01:08 -07:00
< a id = "a48ef3b8afff6d3904fcbe52d8c65ccb8" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a48ef3b8afff6d3904fcbe52d8c65ccb8" > ◆ < / a > < / span > ~DelayedCallMethod2()< / 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_1DelayedCallMethod2.html" > DelayedCallMethod2< / 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 class = "mlabel" > override< / 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#l00749" > 749< / 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 >
2019-08-07 18:01:08 -07:00
< a id = "aed804747c45a7e1caf81461f9e45dd91" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aed804747c45a7e1caf81461f9e45dd91" > ◆ < / a > < / span > DebugString()< / 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" > std::string DebugString < / 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 class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2019-08-07 18:01:08 -07:00
< p > Reimplemented from < a class = "el" href = "classoperations__research_1_1Demon.html#aed804747c45a7e1caf81461f9e45dd91" > Demon< / a > .< / p >
2019-06-13 15:36:14 +02:00
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00759" > 759< / 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 >
2019-08-07 18:01:08 -07:00
< a id = "a2baabc490b7cd5aa80136e07b358cb21" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2baabc490b7cd5aa80136e07b358cb21" > ◆ < / a > < / span > desinhibit()< / 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 desinhibit < / 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 > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method un-inhibits the demon that was previously inhibited. < / p >
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "a0c1ff1e86b1eb08d0f87eab2943dac2a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0c1ff1e86b1eb08d0f87eab2943dac2a" > ◆ < / a > < / span > inhibit()< / 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 inhibit < / 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 > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method inhibits the demon in the search tree below the current position. < / p >
< / div >
< / div >
2019-08-07 18:01:08 -07:00
< a id = "a0a34701cff1b1ac2fabd11e27c7cebc9" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0a34701cff1b1ac2fabd11e27c7cebc9" > ◆ < / a > < / span > priority()< / 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_1Solver.html#a293233c46e5eaa308f65c7c2350553f7" > Solver::DemonPriority< / a > priority < / 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 class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method returns the priority of the demon. < / p >
< p > Usually a demon is fast, slow or normal. Immediate demons are reserved for internal use to maintain variables. < / p >
2019-08-07 18:01:08 -07:00
< p > Reimplemented from < a class = "el" href = "classoperations__research_1_1Demon.html#a5ac0e92284072f70d4e73188ced54885" > Demon< / a > .< / p >
2019-06-13 15:36:14 +02:00
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00755" > 755< / 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 >
2019-08-07 18:01:08 -07:00
< a id = "ac863f0fdd6a476ca003c99f58f14e623" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac863f0fdd6a476ca003c99f58f14e623" > ◆ < / a > < / span > Run()< / 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 Run < / 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 > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This is the main callback of the demon. < / p >
2019-08-07 18:01:08 -07:00
< p > Implements < a class = "el" href = "classoperations__research_1_1Demon.html#aff915cd1c182d7e7ce5c9d15e9ae1da7" > Demon< / a > .< / p >
2019-06-13 15:36:14 +02:00
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00751" > 751< / 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-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 >