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_1CallMethod0.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_1CallMethod0-members.html" > List of all members< / a > < / div >
< div class = "headertitle" >
< div class = "title" > operations_research::CallMethod0< 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::CallMethod0< T > < / h3 >
2019-06-13 15:36:14 +02:00
2019-07-12 13:25:23 -07:00
< p > < a class = "el" href = "classoperations__research_1_1Demon.html" title = "A Demon is the base element of a propagation queue." > Demon< / a > proxy to a method on the constraint with no arguments. < / p >
< p > These methods represent generic demons that will call back a method on the constraint during their Run method. This way, all propagation methods are members of the constraint class, and demons are just proxies with a priority of NORMAL_PRIORITY. < / 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#l00512" > 512< / 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:a52f89d97b033f2aaaed56b59f155e843" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1CallMethod0.html#a52f89d97b033f2aaaed56b59f155e843" > CallMethod0< / a > (T *const ct, void(T::*method)(), const std::string & name)< / td > < / tr >
< tr class = "separator:a52f89d97b033f2aaaed56b59f155e843" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a440b83783e9b3e454da1b9ff8e0158d6" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1CallMethod0.html#a440b83783e9b3e454da1b9ff8e0158d6" > ~CallMethod0< / a > () override< / td > < / tr >
< tr class = "separator:a440b83783e9b3e454da1b9ff8e0158d6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1a9ae132209a5ae456616619c3a85766" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1CallMethod0.html#a1a9ae132209a5ae456616619c3a85766" > Run< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s) override< / td > < / tr >
< tr class = "memdesc:a1a9ae132209a5ae456616619c3a85766" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This is the main callback of the demon. < a href = "#a1a9ae132209a5ae456616619c3a85766" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a1a9ae132209a5ae456616619c3a85766" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a50933bd9255294eca78f60b3b5bd176c" > < td class = "memItemLeft" align = "right" valign = "top" > std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1CallMethod0.html#a50933bd9255294eca78f60b3b5bd176c" > DebugString< / a > () const override< / td > < / tr >
< tr class = "separator:a50933bd9255294eca78f60b3b5bd176c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7ec8db0f9eacea36b80bfacfb1b5af8b" > < td class = "memItemLeft" align = "right" valign = "top" > virtual < a class = "el" href = "classoperations__research_1_1Solver.html#a4b0972c731faf884eba5acab99ebb2b4" > Solver::DemonPriority< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1Demon.html#a7ec8db0f9eacea36b80bfacfb1b5af8b" > priority< / a > () const< / td > < / tr >
< tr class = "memdesc:a7ec8db0f9eacea36b80bfacfb1b5af8b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method returns the priority of the demon. < a href = "#a7ec8db0f9eacea36b80bfacfb1b5af8b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a7ec8db0f9eacea36b80bfacfb1b5af8b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4e51b1b49f9a937b335cd9381f95614d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1Demon.html#a4e51b1b49f9a937b335cd9381f95614d" > inhibit< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s)< / td > < / tr >
< tr class = "memdesc:a4e51b1b49f9a937b335cd9381f95614d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method inhibits the demon in the search tree below the current position. < a href = "#a4e51b1b49f9a937b335cd9381f95614d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a4e51b1b49f9a937b335cd9381f95614d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae63a7d849eb2b518ac708c736c670f9c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1Demon.html#ae63a7d849eb2b518ac708c736c670f9c" > desinhibit< / a > (< a class = "el" href = "classoperations__research_1_1Solver.html" > Solver< / a > *const s)< / td > < / tr >
< tr class = "memdesc:ae63a7d849eb2b518ac708c736c670f9c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method un-inhibits the demon that was previously inhibited. < a href = "#ae63a7d849eb2b518ac708c736c670f9c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae63a7d849eb2b518ac708c736c670f9c" > < 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 = "a52f89d97b033f2aaaed56b59f155e843" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a52f89d97b033f2aaaed56b59f155e843" > ◆ < / a > < / span > CallMethod0()< / 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_1CallMethod0.html" > operations_research::CallMethod0< / a > < T > ::< a class = "el" href = "classoperations__research_1_1CallMethod0.html" > CallMethod0< / a > < / td >
< 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::*)()  < / 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 > < / 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#l00514" > 514< / 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 = "a440b83783e9b3e454da1b9ff8e0158d6" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a440b83783e9b3e454da1b9ff8e0158d6" > ◆ < / a > < / span > ~CallMethod0()< / 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_1CallMethod0.html" > operations_research::CallMethod0< / a > < T > ::~< a class = "el" href = "classoperations__research_1_1CallMethod0.html" > CallMethod0< / 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 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#l00517" > 517< / 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 = "a50933bd9255294eca78f60b3b5bd176c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a50933bd9255294eca78f60b3b5bd176c" > ◆ < / a > < / span > DebugString()< / 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" > std::string < a class = "el" href = "classoperations__research_1_1CallMethod0.html" > operations_research::CallMethod0< / a > < T > ::DebugString < / 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" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Reimplemented from < a class = "el" href = "classoperations__research_1_1Demon.html#a906a1bd16d33b9b841e68b2a06bbbfd2" > operations_research::Demon< / a > .< / p >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00521" > 521< / 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 = "ae63a7d849eb2b518ac708c736c670f9c" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae63a7d849eb2b518ac708c736c670f9c" > ◆ < / a > < / span > desinhibit()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void operations_research::Demon::desinhibit < / 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 > < 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 >
< a id = "a4e51b1b49f9a937b335cd9381f95614d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4e51b1b49f9a937b335cd9381f95614d" > ◆ < / a > < / span > inhibit()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void operations_research::Demon::inhibit < / 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 > < 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 >
< a id = "a7ec8db0f9eacea36b80bfacfb1b5af8b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a7ec8db0f9eacea36b80bfacfb1b5af8b" > ◆ < / a > < / span > priority()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual < a class = "el" href = "classoperations__research_1_1Solver.html#a4b0972c731faf884eba5acab99ebb2b4" > Solver::DemonPriority< / a > operations_research::Demon::priority < / 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" > virtual< / span > < span class = "mlabel" > inherited< / 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 >
< p > Reimplemented in < a class = "el" href = "classoperations__research_1_1DelayedCallMethod2.html#a9fd8b3e6b2008cc95f7d562659f63e12" > operations_research::DelayedCallMethod2< T, P, Q > < / a > , < a class = "el" href = "classoperations__research_1_1DelayedCallMethod1.html#a7ef6fa85722c1d3da524468a6f3a6347" > operations_research::DelayedCallMethod1< T, P > < / a > , and < a class = "el" href = "classoperations__research_1_1DelayedCallMethod0.html#adfd9001b4514cf914865ff234f189775" > operations_research::DelayedCallMethod0< T > < / a > .< / p >
< / div >
< / div >
< a id = "a1a9ae132209a5ae456616619c3a85766" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1a9ae132209a5ae456616619c3a85766" > ◆ < / a > < / span > Run()< / 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_1CallMethod0.html" > operations_research::CallMethod0< / a > < T > ::Run < / 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 > < 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 >
< p > Implements < a class = "el" href = "classoperations__research_1_1Demon.html#a7d3876bb3b369f0ae115e08ce9a6dc72" > operations_research::Demon< / a > .< / p >
2019-07-05 00:25:55 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solveri_8h_source.html#l00519" > 519< / 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 >