2020-11-18 14:53:30 +01:00
<!-- HTML header for doxygen 1.8.18 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2022-01-17 21:42:14 +01:00
< meta name = "generator" content = "Doxygen 1.9.3" / >
2020-11-18 14:53:30 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: Constraint< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "styleSheet.tmp.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "orLogo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > OR-Tools
2022-03-04 00:11:33 +01:00
  < span id = "projectnumber" > 9.3< / span >
2020-11-18 14:53:30 +01:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2022-01-17 21:42:14 +01:00
<!-- Generated by Doxygen 1.9.3 -->
2020-11-18 14:53:30 +01:00
< script type = "text/javascript" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
2020-11-18 14:53:30 +01:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
2020-11-18 14:53:30 +01:00
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
2022-01-17 21:42:14 +01:00
/* @license-end */
< / script >
2020-11-18 14:53:30 +01:00
< div id = "main-nav" > < / div >
< / 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">
< / div >
< / div >
< script type = "text/javascript" >
2022-01-17 21:42:14 +01:00
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classoperations__research_1_1_constraint.html',''); initResizable(); });
2020-11-18 14:53:30 +01:00
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#pub-methods" > Public Member Functions< / a > |
< a href = "classoperations__research_1_1_constraint-members.html" > List of all members< / a > < / div >
2022-01-17 21:42:14 +01:00
< div class = "headertitle" > < div class = "title" > Constraint< span class = "mlabels" > < span class = "mlabel" > abstract< / span > < / span > < / div > < / div >
2020-11-18 14:53:30 +01:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Detailed Description< / h2 >
2022-01-17 21:42:14 +01:00
< div class = "textblock" > < p > A constraint is the main modeling object. < / p >
< p > It provides two methods:< / p > < ul >
2020-11-18 14:53:30 +01:00
< li > < a class = "el" href = "classoperations__research_1_1_constraint.html#af33bad3aa81a2f411224d5e471f9956f" title = "This method is called when the constraint is processed by the solver." > Post()< / a > is responsible for creating the demons and attaching them to immediate demons().< / li >
< li > < a class = "el" href = "classoperations__research_1_1_constraint.html#a9100fab5545234f60a4ce442dbb45630" title = "This method performs the initial propagation of the constraint." > InitialPropagate()< / a > is called once just after Post and performs the initial propagation. The subsequent propagations will be performed by the demons Posted during the post() method. < / li >
< / ul >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03626" > 3626< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div > < table class = "memberdecls" >
2022-01-17 21:42:14 +01:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a id = "pub-methods" name = "pub-methods" > < / a >
2020-11-18 14:53:30 +01:00
Public Member Functions< / h2 > < / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memitem:ad73d074eabf60c009e7ca6a16a5909e4" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#ad73d074eabf60c009e7ca6a16a5909e4" > Constraint< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html" > Solver< / a > *const < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a0b526d33739114e9255ffbe8343efe1a" > solver< / a > )< / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:ad73d074eabf60c009e7ca6a16a5909e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a06a1a88fd005ae10834c7fcfa4bc8d20" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#a06a1a88fd005ae10834c7fcfa4bc8d20" > ~Constraint< / a > () override< / td > < / tr >
< tr class = "separator:a06a1a88fd005ae10834c7fcfa4bc8d20" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af33bad3aa81a2f411224d5e471f9956f" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#af33bad3aa81a2f411224d5e471f9956f" > Post< / a > ()=0< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:af33bad3aa81a2f411224d5e471f9956f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method is called when the constraint is processed by the solver. < a href = "classoperations__research_1_1_constraint.html#af33bad3aa81a2f411224d5e471f9956f" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:af33bad3aa81a2f411224d5e471f9956f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9100fab5545234f60a4ce442dbb45630" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#a9100fab5545234f60a4ce442dbb45630" > InitialPropagate< / a > ()=0< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a9100fab5545234f60a4ce442dbb45630" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method performs the initial propagation of the constraint. < a href = "classoperations__research_1_1_constraint.html#a9100fab5545234f60a4ce442dbb45630" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a9100fab5545234f60a4ce442dbb45630" > < 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_1_constraint.html#aed804747c45a7e1caf81461f9e45dd91" > DebugString< / a > () const override< / td > < / tr >
< tr class = "separator:aed804747c45a7e1caf81461f9e45dd91" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a19c44e0b2911b809a9403701804088e3" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#a19c44e0b2911b809a9403701804088e3" > PostAndPropagate< / a > ()< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a19c44e0b2911b809a9403701804088e3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Calls Post and then Propagate to initialize the constraints. < a href = "classoperations__research_1_1_constraint.html#a19c44e0b2911b809a9403701804088e3" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a19c44e0b2911b809a9403701804088e3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aac4aa5ecf086378b1bbac4b669bab4db" > < td class = "memItemLeft" align = "right" valign = "top" > virtual void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#aac4aa5ecf086378b1bbac4b669bab4db" > Accept< / a > (< a class = "el" href = "classoperations__research_1_1_model_visitor.html" > ModelVisitor< / a > *const visitor) const< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:aac4aa5ecf086378b1bbac4b669bab4db" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Accepts the given visitor. < a href = "classoperations__research_1_1_constraint.html#aac4aa5ecf086378b1bbac4b669bab4db" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:aac4aa5ecf086378b1bbac4b669bab4db" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a573284ea4ace994b6886c6a4feffa0aa" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#a573284ea4ace994b6886c6a4feffa0aa" > IsCastConstraint< / a > () const< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a573284ea4ace994b6886c6a4feffa0aa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Is the constraint created by a cast from expression to integer variable? < a href = "classoperations__research_1_1_constraint.html#a573284ea4ace994b6886c6a4feffa0aa" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a573284ea4ace994b6886c6a4feffa0aa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab9499597067cb211270f23aea108ef99" > < td class = "memItemLeft" align = "right" valign = "top" > virtual < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_constraint.html#ab9499597067cb211270f23aea108ef99" > Var< / a > ()< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:ab9499597067cb211270f23aea108ef99" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Creates a Boolean variable representing the status of the constraint (false = constraint is violated, true = constraint is satisfied). < a href = "classoperations__research_1_1_constraint.html#ab9499597067cb211270f23aea108ef99" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:ab9499597067cb211270f23aea108ef99" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memitem:a0b526d33739114e9255ffbe8343efe1a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classoperations__research_1_1_solver.html" > Solver< / a > *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a0b526d33739114e9255ffbe8343efe1a" > solver< / a > () const< / td > < / tr >
< tr class = "separator:a0b526d33739114e9255ffbe8343efe1a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "memitem:a5155ff01cf80f5a478fd09916abab155" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a5155ff01cf80f5a478fd09916abab155" > FreezeQueue< / a > ()< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a5155ff01cf80f5a478fd09916abab155" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method freezes the propagation queue. < a href = "classoperations__research_1_1_propagation_base_object.html#a5155ff01cf80f5a478fd09916abab155" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a5155ff01cf80f5a478fd09916abab155" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae038f4a9249362629fc47e8dfc441ec7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#ae038f4a9249362629fc47e8dfc441ec7" > UnfreezeQueue< / a > ()< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:ae038f4a9249362629fc47e8dfc441ec7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method unfreezes the propagation queue. < a href = "classoperations__research_1_1_propagation_base_object.html#ae038f4a9249362629fc47e8dfc441ec7" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:ae038f4a9249362629fc47e8dfc441ec7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a173cbf153462b14f9b57362d2c45638a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a173cbf153462b14f9b57362d2c45638a" > EnqueueDelayedDemon< / a > (< a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > *const d)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a173cbf153462b14f9b57362d2c45638a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method pushes the demon onto the propagation queue. < a href = "classoperations__research_1_1_propagation_base_object.html#a173cbf153462b14f9b57362d2c45638a" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a173cbf153462b14f9b57362d2c45638a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a448b9bde901fcf3ec2e94ab972b083f0" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a448b9bde901fcf3ec2e94ab972b083f0" > EnqueueVar< / a > (< a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > *const d)< / td > < / tr >
< tr class = "separator:a448b9bde901fcf3ec2e94ab972b083f0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3d3bd9d99cf43cf184a1246d2c278c31" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a3d3bd9d99cf43cf184a1246d2c278c31" > ExecuteAll< / a > (const < a class = "el" href = "classoperations__research_1_1_simple_rev_f_i_f_o.html" > SimpleRevFIFO< / a > < < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > * > & demons)< / td > < / tr >
< tr class = "separator:a3d3bd9d99cf43cf184a1246d2c278c31" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5a5ad1a2482043e4a9d2c19bbab1e250" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a5a5ad1a2482043e4a9d2c19bbab1e250" > EnqueueAll< / a > (const < a class = "el" href = "classoperations__research_1_1_simple_rev_f_i_f_o.html" > SimpleRevFIFO< / a > < < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > * > & demons)< / td > < / tr >
< tr class = "separator:a5a5ad1a2482043e4a9d2c19bbab1e250" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memitem:a3ae4667b0e7a9e6c63c91202480c8876" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a3ae4667b0e7a9e6c63c91202480c8876" > set_action_on_fail< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html#ad7946514ee3dd6cb3ab993dc9e98b33b" > Solver::Action< / a > < a class = "el" href = "constraint__solver_2table_8cc.html#acb18315d548212835cd8ed4287e6c0b6" > a< / a > )< / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a3ae4667b0e7a9e6c63c91202480c8876" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a26d87b428f06d54a1a44d6e950a0e196" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a26d87b428f06d54a1a44d6e950a0e196" > reset_action_on_fail< / a > ()< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a26d87b428f06d54a1a44d6e950a0e196" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method clears the failure callback. < a href = "classoperations__research_1_1_propagation_base_object.html#a26d87b428f06d54a1a44d6e950a0e196" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a26d87b428f06d54a1a44d6e950a0e196" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa799a452245f03cc53355e6432c107a7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#aa799a452245f03cc53355e6432c107a7" > set_variable_to_clean_on_fail< / a > (< a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *v)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:aa799a452245f03cc53355e6432c107a7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Shortcut for variable cleaner. < a href = "classoperations__research_1_1_propagation_base_object.html#aa799a452245f03cc53355e6432c107a7" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:aa799a452245f03cc53355e6432c107a7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1d89c28bd42ba9a52da008bb69367171" > < td class = "memItemLeft" align = "right" valign = "top" > virtual std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a1d89c28bd42ba9a52da008bb69367171" > name< / a > () const< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a1d89c28bd42ba9a52da008bb69367171" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Object naming. < a href = "classoperations__research_1_1_propagation_base_object.html#a1d89c28bd42ba9a52da008bb69367171" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a1d89c28bd42ba9a52da008bb69367171" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad5260b9627048b854b45d05ed34adc22" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#ad5260b9627048b854b45d05ed34adc22" > set_name< / a > (const std::string & < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a1d89c28bd42ba9a52da008bb69367171" > name< / a > )< / td > < / tr >
< tr class = "separator:ad5260b9627048b854b45d05ed34adc22" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a31eda3918c04e32fa9e8c432d72b2d60" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a31eda3918c04e32fa9e8c432d72b2d60" > HasName< / a > () const< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a31eda3918c04e32fa9e8c432d72b2d60" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns whether the object has been named or not. < a href = "classoperations__research_1_1_propagation_base_object.html#a31eda3918c04e32fa9e8c432d72b2d60" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a31eda3918c04e32fa9e8c432d72b2d60" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8d3de765a37ab507b801467955dc183e" > < td class = "memItemLeft" align = "right" valign = "top" > virtual std::string  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_propagation_base_object.html#a8d3de765a37ab507b801467955dc183e" > BaseName< / a > () const< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a8d3de765a37ab507b801467955dc183e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Returns a base name for automatic naming. < a href = "classoperations__research_1_1_propagation_base_object.html#a8d3de765a37ab507b801467955dc183e" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a8d3de765a37ab507b801467955dc183e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Constructor & Destructor Documentation< / h2 >
2022-01-17 21:42:14 +01:00
< a id = "ad73d074eabf60c009e7ca6a16a5909e4" name = "ad73d074eabf60c009e7ca6a16a5909e4" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad73d074eabf60c009e7ca6a16a5909e4" > ◆ < / a > < / span > Constraint()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1_constraint.html" > Constraint< / a > < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_solver.html" > Solver< / a > *const  < / td >
< td class = "paramname" > < em > solver< / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03628" > 3628< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a06a1a88fd005ae10834c7fcfa4bc8d20" name = "a06a1a88fd005ae10834c7fcfa4bc8d20" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a06a1a88fd005ae10834c7fcfa4bc8d20" > ◆ < / a > < / span > ~Constraint()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > ~< a class = "el" href = "classoperations__research_1_1_constraint.html" > Constraint< / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03629" > 3629< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
< h2 class = "groupheader" > Member Function Documentation< / h2 >
2022-01-17 21:42:14 +01:00
< a id = "aac4aa5ecf086378b1bbac4b669bab4db" name = "aac4aa5ecf086378b1bbac4b669bab4db" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aac4aa5ecf086378b1bbac4b669bab4db" > ◆ < / a > < / span > Accept()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void Accept < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_model_visitor.html" > ModelVisitor< / a > *const  < / td >
< td class = "paramname" > < em > visitor< / em > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Accepts the given visitor. < / p >
2022-03-04 00:11:33 +01:00
< p > Reimplemented in < a class = "el" href = "classoperations__research_1_1_pack.html#aa30c84aec5e60d6b74e1e1eb15011d4a" > Pack< / a > , and < a class = "el" href = "classoperations__research_1_1_if_then_else_ct.html#aa30c84aec5e60d6b74e1e1eb15011d4a" > IfThenElseCt< / a > .< / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l03294" > 3294< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a8d3de765a37ab507b801467955dc183e" name = "a8d3de765a37ab507b801467955dc183e" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8d3de765a37ab507b801467955dc183e" > ◆ < / a > < / span > BaseName()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string BaseName < / 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 > Returns a base name for automatic naming. < / p >
2022-03-04 00:11:33 +01:00
< p > Reimplemented in < a class = "el" href = "classoperations__research_1_1_boolean_var.html#adbfe3c73b9cad61f112ccb082b553c51" > BooleanVar< / a > .< / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02521" > 2521< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "aed804747c45a7e1caf81461f9e45dd91" name = "aed804747c45a7e1caf81461f9e45dd91" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aed804747c45a7e1caf81461f9e45dd91" > ◆ < / a > < / span > DebugString()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string 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" > 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_1_propagation_base_object.html#aed804747c45a7e1caf81461f9e45dd91" > PropagationBaseObject< / a > .< / p >
2022-03-04 00:11:33 +01:00
< p > Reimplemented in < a class = "el" href = "classoperations__research_1_1_pack.html#aed804747c45a7e1caf81461f9e45dd91" > Pack< / a > , < a class = "el" href = "classoperations__research_1_1_if_then_else_ct.html#aed804747c45a7e1caf81461f9e45dd91" > IfThenElseCt< / a > , and < a class = "el" href = "classoperations__research_1_1_global_vehicle_breaks_constraint.html#aed804747c45a7e1caf81461f9e45dd91" > GlobalVehicleBreaksConstraint< / a > .< / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l03284" > 3284< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a5a5ad1a2482043e4a9d2c19bbab1e250" name = "a5a5ad1a2482043e4a9d2c19bbab1e250" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5a5ad1a2482043e4a9d2c19bbab1e250" > ◆ < / a > < / span > EnqueueAll()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void EnqueueAll < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "classoperations__research_1_1_simple_rev_f_i_f_o.html" > SimpleRevFIFO< / a > < < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > * > &   < / td >
< td class = "paramname" > < em > demons< / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02527" > 2527< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a173cbf153462b14f9b57362d2c45638a" name = "a173cbf153462b14f9b57362d2c45638a" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a173cbf153462b14f9b57362d2c45638a" > ◆ < / a > < / span > EnqueueDelayedDemon()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void EnqueueDelayedDemon < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > *const  < / td >
< td class = "paramname" > < em > d< / em > < / 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" >
< p > This method pushes the demon onto the propagation queue. < / p >
2022-01-17 21:42:14 +01:00
< p > It will be processed directly if the queue is empty. It will be enqueued according to its priority otherwise. < / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03209" > 3209< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a448b9bde901fcf3ec2e94ab972b083f0" name = "a448b9bde901fcf3ec2e94ab972b083f0" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a448b9bde901fcf3ec2e94ab972b083f0" > ◆ < / a > < / span > EnqueueVar()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void EnqueueVar < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > *const  < / td >
< td class = "paramname" > < em > d< / em > < / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03210" > 3210< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a3d3bd9d99cf43cf184a1246d2c278c31" name = "a3d3bd9d99cf43cf184a1246d2c278c31" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3d3bd9d99cf43cf184a1246d2c278c31" > ◆ < / a > < / span > ExecuteAll()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void ExecuteAll < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "classoperations__research_1_1_simple_rev_f_i_f_o.html" > SimpleRevFIFO< / a > < < a class = "el" href = "classoperations__research_1_1_demon.html" > Demon< / a > * > &   < / td >
< td class = "paramname" > < em > demons< / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02523" > 2523< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a5155ff01cf80f5a478fd09916abab155" name = "a5155ff01cf80f5a478fd09916abab155" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5155ff01cf80f5a478fd09916abab155" > ◆ < / a > < / span > FreezeQueue()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void FreezeQueue < / 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" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method freezes the propagation queue. < / p >
2022-01-17 21:42:14 +01:00
< p > It is useful when you need to apply multiple modifications at once. < / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03200" > 3200< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a31eda3918c04e32fa9e8c432d72b2d60" name = "a31eda3918c04e32fa9e8c432d72b2d60" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a31eda3918c04e32fa9e8c432d72b2d60" > ◆ < / a > < / span > HasName()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool HasName < / 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" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Returns whether the object has been named or not. < / p >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02519" > 2519< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a9100fab5545234f60a4ce442dbb45630" name = "a9100fab5545234f60a4ce442dbb45630" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a9100fab5545234f60a4ce442dbb45630" > ◆ < / a > < / span > InitialPropagate()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual void InitialPropagate < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > pure virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method performs the initial propagation of the constraint. < / p >
2022-01-17 21:42:14 +01:00
< p > It is called just after the post. < / p >
2020-11-18 14:53:30 +01:00
2022-03-04 00:11:33 +01:00
< p > Implemented in < a class = "el" href = "classoperations__research_1_1_pack.html#a36d844f2722273b190ed9a069dd25938" > Pack< / a > , < a class = "el" href = "classoperations__research_1_1_if_then_else_ct.html#a36d844f2722273b190ed9a069dd25938" > IfThenElseCt< / a > , < a class = "el" href = "classoperations__research_1_1_global_vehicle_breaks_constraint.html#a36d844f2722273b190ed9a069dd25938" > GlobalVehicleBreaksConstraint< / a > , and < a class = "el" href = "classoperations__research_1_1_type_regulations_constraint.html#a36d844f2722273b190ed9a069dd25938" > TypeRegulationsConstraint< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a573284ea4ace994b6886c6a4feffa0aa" name = "a573284ea4ace994b6886c6a4feffa0aa" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a573284ea4ace994b6886c6a4feffa0aa" > ◆ < / a > < / span > IsCastConstraint()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool IsCastConstraint < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Is the constraint created by a cast from expression to integer variable? < / p >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l03300" > 3300< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a1d89c28bd42ba9a52da008bb69367171" name = "a1d89c28bd42ba9a52da008bb69367171" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a1d89c28bd42ba9a52da008bb69367171" > ◆ < / a > < / span > name()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > std::string name < / 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 > Object naming. < / p >
2022-03-04 00:11:33 +01:00
< p > Reimplemented in < a class = "el" href = "classoperations__research_1_1_piecewise_linear_expr.html#aa4f4ba750a08765e64da2d0bd473944a" > PiecewiseLinearExpr< / a > .< / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02511" > 2511< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "af33bad3aa81a2f411224d5e471f9956f" name = "af33bad3aa81a2f411224d5e471f9956f" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af33bad3aa81a2f411224d5e471f9956f" > ◆ < / a > < / span > Post()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > virtual void Post < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > pure virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method is called when the constraint is processed by the solver. < / p >
2022-01-17 21:42:14 +01:00
< p > Its main usage is to attach demons to variables. < / p >
2020-11-18 14:53:30 +01:00
2022-03-04 00:11:33 +01:00
< p > Implemented in < a class = "el" href = "classoperations__research_1_1_pack.html#a19d94d32f3bde30deeebb883c6f71f84" > Pack< / a > , < a class = "el" href = "classoperations__research_1_1_if_then_else_ct.html#a19d94d32f3bde30deeebb883c6f71f84" > IfThenElseCt< / a > , < a class = "el" href = "classoperations__research_1_1_global_vehicle_breaks_constraint.html#a19d94d32f3bde30deeebb883c6f71f84" > GlobalVehicleBreaksConstraint< / a > , and < a class = "el" href = "classoperations__research_1_1_type_regulations_constraint.html#a19d94d32f3bde30deeebb883c6f71f84" > TypeRegulationsConstraint< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a19c44e0b2911b809a9403701804088e3" name = "a19c44e0b2911b809a9403701804088e3" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a19c44e0b2911b809a9403701804088e3" > ◆ < / a > < / span > PostAndPropagate()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PostAndPropagate < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Calls Post and then Propagate to initialize the constraints. < / p >
2022-01-17 21:42:14 +01:00
< p > This is usually done in the root node. < / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l03286" > 3286< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a26d87b428f06d54a1a44d6e950a0e196" name = "a26d87b428f06d54a1a44d6e950a0e196" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a26d87b428f06d54a1a44d6e950a0e196" > ◆ < / a > < / span > reset_action_on_fail()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void reset_action_on_fail < / 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" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method clears the failure callback. < / p >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03223" > 3223< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a3ae4667b0e7a9e6c63c91202480c8876" name = "a3ae4667b0e7a9e6c63c91202480c8876" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3ae4667b0e7a9e6c63c91202480c8876" > ◆ < / a > < / span > set_action_on_fail()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void set_action_on_fail < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_solver.html#ad7946514ee3dd6cb3ab993dc9e98b33b" > Solver::Action< / a >   < / td >
< td class = "paramname" > < em > a< / em > < / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03217" > 3217< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "ad5260b9627048b854b45d05ed34adc22" name = "ad5260b9627048b854b45d05ed34adc22" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ad5260b9627048b854b45d05ed34adc22" > ◆ < / a > < / span > set_name()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void set_name < / td >
< td > (< / td >
< td class = "paramtype" > const std::string &   < / td >
< td class = "paramname" > < em > name< / 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" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l02515" > 2515< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "aa799a452245f03cc53355e6432c107a7" name = "aa799a452245f03cc53355e6432c107a7" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa799a452245f03cc53355e6432c107a7" > ◆ < / a > < / span > set_variable_to_clean_on_fail()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void set_variable_to_clean_on_fail < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *  < / td >
< td class = "paramname" > < em > v< / em > < / 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" >
< p > Shortcut for variable cleaner. < / p >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03226" > 3226< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a0b526d33739114e9255ffbe8343efe1a" name = "a0b526d33739114e9255ffbe8343efe1a" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0b526d33739114e9255ffbe8343efe1a" > ◆ < / a > < / span > solver()< / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2022-01-17 21:42:14 +01:00
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1_solver.html" > Solver< / a > * solver < / td >
2020-11-18 14:53:30 +01: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" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03196" > 3196< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "ae038f4a9249362629fc47e8dfc441ec7" name = "ae038f4a9249362629fc47e8dfc441ec7" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ae038f4a9249362629fc47e8dfc441ec7" > ◆ < / a > < / span > UnfreezeQueue()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void UnfreezeQueue < / 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" > inherited< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This method unfreezes the propagation queue. < / p >
2022-01-17 21:42:14 +01:00
< p > All modifications that happened when the queue was frozen will be processed. < / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l03204" > 3204< / a > of file < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "ab9499597067cb211270f23aea108ef99" name = "ab9499597067cb211270f23aea108ef99" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ab9499597067cb211270f23aea108ef99" > ◆ < / a > < / span > Var()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * Var < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Creates a Boolean variable representing the status of the constraint (false = constraint is violated, true = constraint is satisfied). < / p >
2022-01-17 21:42:14 +01:00
< p > It returns nullptr if the constraint does not support this API. < / p >
2020-11-18 14:53:30 +01:00
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8cc_source.html#l03304" > 3304< / a > of file < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
< hr / > The documentation for this class was generated from the following files:< ul >
< li > < a class = "el" href = "constraint__solver_8h_source.html" > constraint_solver.h< / a > < / li >
< li > < a class = "el" href = "constraint__solver_8cc_source.html" > constraint_solver.cc< / a > < / li >
< / ul >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.18 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< 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_1_constraint.html" > Constraint< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2022-01-17 21:42:14 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.9.3 < / li >
2020-11-18 14:53:30 +01:00
< / ul >
< / div >
< / body >
< / html >