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: Pack< / 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_pack.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_pack-members.html" > List of all members< / a > < / div >
2022-01-17 21:42:14 +01:00
< div class = "headertitle" > < div class = "title" > Pack< / 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 >
< div class = "textblock" >
2021-12-14 13:41:01 +01:00
< p class = "definition" > Definition at line < a class = "el" href = "constraint__solver_8h_source.html#l05277" > 5277< / 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 >
< tr class = "memitem:a3faa7bb8c3804bc2c19b0c9c51fb3663" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a3faa7bb8c3804bc2c19b0c9c51fb3663" > Pack< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html" > Solver< / a > *const s, const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > & vars, int number_of_bins)< / td > < / tr >
< tr class = "separator:a3faa7bb8c3804bc2c19b0c9c51fb3663" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6feb8bb936fa7469982badd222c6e952" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a6feb8bb936fa7469982badd222c6e952" > ~Pack< / a > () override< / td > < / tr >
< tr class = "separator:a6feb8bb936fa7469982badd222c6e952" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memitem:a2f18bb178db0e4699be2e8472df4df6c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a2f18bb178db0e4699be2e8472df4df6c" > AddWeightedSumLessOrEqualConstantDimension< / a > (const std::vector< int64_t > & weights, const std::vector< int64_t > & < a class = "el" href = "cp__model__solver_8cc.html#a06dad0852d85b0686e01c084207c03a7" > bounds< / a > )< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a2f18bb178db0e4699be2e8472df4df6c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Dimensions are additional constraints than can restrict what is possible with the pack constraint. < a href = "classoperations__research_1_1_pack.html#a2f18bb178db0e4699be2e8472df4df6c" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a2f18bb178db0e4699be2e8472df4df6c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a937bb5a9362775d938541131b9a1e413" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a937bb5a9362775d938541131b9a1e413" > AddWeightedSumLessOrEqualConstantDimension< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html#ae37d3a68746841403f335654370e8560" > Solver::IndexEvaluator1< / a > weights, const std::vector< int64_t > & < a class = "el" href = "cp__model__solver_8cc.html#a06dad0852d85b0686e01c084207c03a7" > bounds< / a > )< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a937bb5a9362775d938541131b9a1e413" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i)) of all objects i assigned to 'b' is less or equal to 'bounds[b]'. < a href = "classoperations__research_1_1_pack.html#a937bb5a9362775d938541131b9a1e413" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a937bb5a9362775d938541131b9a1e413" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a95f0dfde3483983b34cb5e99dba69cbc" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a95f0dfde3483983b34cb5e99dba69cbc" > AddWeightedSumLessOrEqualConstantDimension< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html#a55d833360c375d45a3c503437de9841c" > Solver::IndexEvaluator2< / a > weights, const std::vector< int64_t > & < a class = "el" href = "cp__model__solver_8cc.html#a06dad0852d85b0686e01c084207c03a7" > bounds< / a > )< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a95f0dfde3483983b34cb5e99dba69cbc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i, b) of all objects i assigned to 'b' is less or equal to 'bounds[b]'. < a href = "classoperations__research_1_1_pack.html#a95f0dfde3483983b34cb5e99dba69cbc" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a95f0dfde3483983b34cb5e99dba69cbc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0f944bd9521216bdb0ca70951a918c10" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a0f944bd9521216bdb0ca70951a918c10" > AddWeightedSumEqualVarDimension< / a > (const std::vector< int64_t > & weights, const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > & loads)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a0f944bd9521216bdb0ca70951a918c10" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension imposes that for all bins b, the weighted sum (weights[i]) of all objects i assigned to 'b' is equal to loads[b]. < a href = "classoperations__research_1_1_pack.html#a0f944bd9521216bdb0ca70951a918c10" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a0f944bd9521216bdb0ca70951a918c10" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a392a263cbc46d6cf18741970fe17c1e6" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a392a263cbc46d6cf18741970fe17c1e6" > AddWeightedSumEqualVarDimension< / a > (< a class = "el" href = "classoperations__research_1_1_solver.html#a55d833360c375d45a3c503437de9841c" > Solver::IndexEvaluator2< / a > weights, const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > & loads)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a392a263cbc46d6cf18741970fe17c1e6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i, b)) of all objects i assigned to 'b' is equal to loads[b]. < a href = "classoperations__research_1_1_pack.html#a392a263cbc46d6cf18741970fe17c1e6" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a392a263cbc46d6cf18741970fe17c1e6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "memitem:a2e176ba3b4abc69a74e40333c9f644ef" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a2e176ba3b4abc69a74e40333c9f644ef" > AddSumVariableWeightsLessOrEqualConstantDimension< / a > (const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > & usage, const std::vector< int64_t > & < a class = "el" href = "routing__flow_8cc.html#a2acb49f4df5288066c43610bede123ec" > capacity< / a > )< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a2e176ba3b4abc69a74e40333c9f644ef" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension imposes: forall b in bins, sum (i in items: usage[i] * is_assigned(i, b)) < = capacity[b] where is_assigned(i, b) is true if and only if item i is assigned to the bin b. < a href = "classoperations__research_1_1_pack.html#a2e176ba3b4abc69a74e40333c9f644ef" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a2e176ba3b4abc69a74e40333c9f644ef" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6ebc0cd271fe1413e48d14056dde1e44" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a6ebc0cd271fe1413e48d14056dde1e44" > AddWeightedSumOfAssignedDimension< / a > (const std::vector< int64_t > & weights, < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const cost_var)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a6ebc0cd271fe1413e48d14056dde1e44" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension enforces that cost_var == sum of weights[i] for all objects 'i' assigned to a bin. < a href = "classoperations__research_1_1_pack.html#a6ebc0cd271fe1413e48d14056dde1e44" > More...< / a > < br / > < / td > < / tr >
2021-04-27 23:00:03 +02:00
< tr class = "separator:a6ebc0cd271fe1413e48d14056dde1e44" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "memitem:a90028870fef41c9ce7029c52f194eacd" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a90028870fef41c9ce7029c52f194eacd" > AddCountUsedBinDimension< / a > (< a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const count_var)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a90028870fef41c9ce7029c52f194eacd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension links 'count_var' to the actual number of bins used in the pack. < a href = "classoperations__research_1_1_pack.html#a90028870fef41c9ce7029c52f194eacd" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a90028870fef41c9ce7029c52f194eacd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a27d5048553d708cb8f1f7b6f7b48052c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a27d5048553d708cb8f1f7b6f7b48052c" > AddCountAssignedItemsDimension< / a > (< a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const count_var)< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a27d5048553d708cb8f1f7b6f7b48052c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This dimension links 'count_var' to the actual number of items assigned to a bin in the pack. < a href = "classoperations__research_1_1_pack.html#a27d5048553d708cb8f1f7b6f7b48052c" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a27d5048553d708cb8f1f7b6f7b48052c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a19d94d32f3bde30deeebb883c6f71f84" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a19d94d32f3bde30deeebb883c6f71f84" > Post< / a > () override< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a19d94d32f3bde30deeebb883c6f71f84" > < 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_pack.html#a19d94d32f3bde30deeebb883c6f71f84" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a19d94d32f3bde30deeebb883c6f71f84" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa7d76b766faf39c1652b6617eac5fe20" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#aa7d76b766faf39c1652b6617eac5fe20" > ClearAll< / a > ()< / td > < / tr >
< tr class = "separator:aa7d76b766faf39c1652b6617eac5fe20" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac095c86328e93de5cab0a64db691c602" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#ac095c86328e93de5cab0a64db691c602" > PropagateDelayed< / a > ()< / td > < / tr >
< tr class = "separator:ac095c86328e93de5cab0a64db691c602" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a36d844f2722273b190ed9a069dd25938" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a36d844f2722273b190ed9a069dd25938" > InitialPropagate< / a > () override< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:a36d844f2722273b190ed9a069dd25938" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This method performs the initial propagation of the constraint. < a href = "classoperations__research_1_1_pack.html#a36d844f2722273b190ed9a069dd25938" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:a36d844f2722273b190ed9a069dd25938" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a03fbaed2e89d3a0ed34ffe35af8c0ec6" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a03fbaed2e89d3a0ed34ffe35af8c0ec6" > Propagate< / a > ()< / td > < / tr >
< tr class = "separator:a03fbaed2e89d3a0ed34ffe35af8c0ec6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a96340e443923b721e76f2ff432a48954" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a96340e443923b721e76f2ff432a48954" > OneDomain< / a > (int var_index)< / td > < / tr >
< tr class = "separator:a96340e443923b721e76f2ff432a48954" > < 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_pack.html#aed804747c45a7e1caf81461f9e45dd91" > DebugString< / a > () const override< / td > < / tr >
< tr class = "separator:aed804747c45a7e1caf81461f9e45dd91" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5e647eb2942c419caa6d67acf062587a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a5e647eb2942c419caa6d67acf062587a" > IsUndecided< / a > (int var_index, int bin_index) const< / td > < / tr >
< tr class = "separator:a5e647eb2942c419caa6d67acf062587a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4997d785dafdc88e1e0459c398e80133" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a4997d785dafdc88e1e0459c398e80133" > SetImpossible< / a > (int var_index, int bin_index)< / td > < / tr >
< tr class = "separator:a4997d785dafdc88e1e0459c398e80133" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac6980496b7938cb743ac658fd0d2d6c8" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#ac6980496b7938cb743ac658fd0d2d6c8" > Assign< / a > (int var_index, int bin_index)< / td > < / tr >
< tr class = "separator:ac6980496b7938cb743ac658fd0d2d6c8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0f59dbe96df95bec0bbc8adb24789ed1" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a0f59dbe96df95bec0bbc8adb24789ed1" > IsAssignedStatusKnown< / a > (int var_index) const< / td > < / tr >
< tr class = "separator:a0f59dbe96df95bec0bbc8adb24789ed1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a85ce8edd658bfd2632f78a4adb41fbf9" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a85ce8edd658bfd2632f78a4adb41fbf9" > IsPossible< / a > (int var_index, int bin_index) const< / td > < / tr >
< tr class = "separator:a85ce8edd658bfd2632f78a4adb41fbf9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af2aa063b55dd569411d0fdc0c0ea6dfb" > < td class = "memItemLeft" align = "right" valign = "top" > < 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_pack.html#af2aa063b55dd569411d0fdc0c0ea6dfb" > AssignVar< / a > (int var_index, int bin_index) const< / td > < / tr >
< tr class = "separator:af2aa063b55dd569411d0fdc0c0ea6dfb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4b8051adf09b104fd5a58b21ea6f843f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a4b8051adf09b104fd5a58b21ea6f843f" > SetAssigned< / a > (int var_index)< / td > < / tr >
< tr class = "separator:a4b8051adf09b104fd5a58b21ea6f843f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9799033614314d2e5be13a65628f32be" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a9799033614314d2e5be13a65628f32be" > SetUnassigned< / a > (int var_index)< / td > < / tr >
< tr class = "separator:a9799033614314d2e5be13a65628f32be" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afd36445be20121bef02fe4847317ed0b" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#afd36445be20121bef02fe4847317ed0b" > RemoveAllPossibleFromBin< / a > (int bin_index)< / td > < / tr >
< tr class = "separator:afd36445be20121bef02fe4847317ed0b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa7cb2bb52c194f51ff28294b05c1e4af" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#aa7cb2bb52c194f51ff28294b05c1e4af" > AssignAllPossibleToBin< / a > (int bin_index)< / td > < / tr >
< tr class = "separator:aa7cb2bb52c194f51ff28294b05c1e4af" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8d4b11f435b76c6568c2c0a08cccb976" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#a8d4b11f435b76c6568c2c0a08cccb976" > AssignFirstPossibleToBin< / a > (int bin_index)< / td > < / tr >
< tr class = "separator:a8d4b11f435b76c6568c2c0a08cccb976" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aedb66bf31047064fd332fb6c6afa027d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#aedb66bf31047064fd332fb6c6afa027d" > AssignAllRemainingItems< / a > ()< / td > < / tr >
< tr class = "separator:aedb66bf31047064fd332fb6c6afa027d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acb7a89e1a7071f6c46375fe31688e485" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#acb7a89e1a7071f6c46375fe31688e485" > UnassignAllRemainingItems< / a > ()< / td > < / tr >
< tr class = "separator:acb7a89e1a7071f6c46375fe31688e485" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa30c84aec5e60d6b74e1e1eb15011d4a" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "classoperations__research_1_1_pack.html#aa30c84aec5e60d6b74e1e1eb15011d4a" > Accept< / a > (< a class = "el" href = "classoperations__research_1_1_model_visitor.html" > ModelVisitor< / a > *const visitor) const override< / td > < / tr >
2022-01-17 21:42:14 +01:00
< tr class = "memdesc:aa30c84aec5e60d6b74e1e1eb15011d4a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Accepts the given visitor. < a href = "classoperations__research_1_1_pack.html#aa30c84aec5e60d6b74e1e1eb15011d4a" > More...< / a > < br / > < / td > < / tr >
2020-11-18 14:53:30 +01:00
< tr class = "separator:aa30c84aec5e60d6b74e1e1eb15011d4a" > < 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: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 = "a3faa7bb8c3804bc2c19b0c9c51fb3663" name = "a3faa7bb8c3804bc2c19b0c9c51fb3663" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3faa7bb8c3804bc2c19b0c9c51fb3663" > ◆ < / a > < / span > Pack()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1_pack.html" > Pack< / 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 > s< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > &   < / td >
< td class = "paramname" > < em > vars< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > number_of_bins< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00108" > 108< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a6feb8bb936fa7469982badd222c6e952" name = "a6feb8bb936fa7469982badd222c6e952" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6feb8bb936fa7469982badd222c6e952" > ◆ < / a > < / span > ~Pack()< / 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_pack.html" > Pack< / 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" > override< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00125" > 125< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / 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 = "aa30c84aec5e60d6b74e1e1eb15011d4a" name = "aa30c84aec5e60d6b74e1e1eb15011d4a" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa30c84aec5e60d6b74e1e1eb15011d4a" > ◆ < / 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" > override< / span > < span class = "mlabel" > virtual< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Accepts the given visitor. < / p >
< p > Reimplemented from < a class = "el" href = "classoperations__research_1_1_constraint.html#aac4aa5ecf086378b1bbac4b669bab4db" > Constraint< / a > .< / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00393" > 393< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a27d5048553d708cb8f1f7b6f7b48052c" name = "a27d5048553d708cb8f1f7b6f7b48052c" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a27d5048553d708cb8f1f7b6f7b48052c" > ◆ < / a > < / span > AddCountAssignedItemsDimension()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddCountAssignedItemsDimension < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const  < / td >
< td class = "paramname" > < em > count_var< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension links 'count_var' to the actual number of items assigned to a bin in the pack. < / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01605" > 1605< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a90028870fef41c9ce7029c52f194eacd" name = "a90028870fef41c9ce7029c52f194eacd" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a90028870fef41c9ce7029c52f194eacd" > ◆ < / a > < / span > AddCountUsedBinDimension()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddCountUsedBinDimension < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const  < / td >
< td class = "paramname" > < em > count_var< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension links 'count_var' to the actual number of bins used in the pack. < / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01598" > 1598< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a2e176ba3b4abc69a74e40333c9f644ef" name = "a2e176ba3b4abc69a74e40333c9f644ef" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2e176ba3b4abc69a74e40333c9f644ef" > ◆ < / a > < / span > AddSumVariableWeightsLessOrEqualConstantDimension()< / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddSumVariableWeightsLessOrEqualConstantDimension < / td >
< td > (< / td >
< td class = "paramtype" > const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > &   < / td >
< td class = "paramname" > < em > usage< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > capacity< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension imposes: forall b in bins, sum (i in items: usage[i] * is_assigned(i, b)) < = capacity[b] where is_assigned(i, b) is true if and only if item i is assigned to the bin b. < / p >
2022-01-17 21:42:14 +01:00
< p > This can be used to model shapes of items by linking variables of the same item on parallel dimensions with an allowed assignment constraint. < / p >
2020-11-18 14:53:30 +01:00
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01588" > 1588< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a0f944bd9521216bdb0ca70951a918c10" name = "a0f944bd9521216bdb0ca70951a918c10" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0f944bd9521216bdb0ca70951a918c10" > ◆ < / a > < / span > AddWeightedSumEqualVarDimension() < span class = "overload" > [1/2]< / span > < / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumEqualVarDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > &   < / td >
< td class = "paramname" > < em > loads< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension imposes that for all bins b, the weighted sum (weights[i]) of all objects i assigned to 'b' is equal to loads[b]. < / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01559" > 1559< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a392a263cbc46d6cf18741970fe17c1e6" name = "a392a263cbc46d6cf18741970fe17c1e6" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a392a263cbc46d6cf18741970fe17c1e6" > ◆ < / a > < / span > AddWeightedSumEqualVarDimension() < span class = "overload" > [2/2]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumEqualVarDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_solver.html#a55d833360c375d45a3c503437de9841c" > Solver::IndexEvaluator2< / a >   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const std::vector< < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * > &   < / td >
< td class = "paramname" > < em > loads< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i, b)) of all objects i assigned to 'b' is equal to loads[b]. < / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01569" > 1569< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a2f18bb178db0e4699be2e8472df4df6c" name = "a2f18bb178db0e4699be2e8472df4df6c" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2f18bb178db0e4699be2e8472df4df6c" > ◆ < / a > < / span > AddWeightedSumLessOrEqualConstantDimension() < span class = "overload" > [1/3]< / span > < / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumLessOrEqualConstantDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > bounds< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Dimensions are additional constraints than can restrict what is possible with the pack constraint. < / p >
2022-01-17 21:42:14 +01:00
< p > It can be used to set capacity limits, to count objects per bin, to compute unassigned penalties... This dimension imposes that for all bins b, the weighted sum (weights[i]) of all objects i assigned to 'b' is less or equal 'bounds[b]'. < / p >
2020-11-18 14:53:30 +01:00
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01529" > 1529< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a937bb5a9362775d938541131b9a1e413" name = "a937bb5a9362775d938541131b9a1e413" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a937bb5a9362775d938541131b9a1e413" > ◆ < / a > < / span > AddWeightedSumLessOrEqualConstantDimension() < span class = "overload" > [2/3]< / span > < / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumLessOrEqualConstantDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_solver.html#ae37d3a68746841403f335654370e8560" > Solver::IndexEvaluator1< / a >   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > bounds< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i)) of all objects i assigned to 'b' is less or equal to 'bounds[b]'. < / p >
2022-01-17 21:42:14 +01:00
< p > Ownership of the callback is transferred to the pack constraint. < / p >
2020-11-18 14:53:30 +01:00
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01539" > 1539< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a95f0dfde3483983b34cb5e99dba69cbc" name = "a95f0dfde3483983b34cb5e99dba69cbc" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a95f0dfde3483983b34cb5e99dba69cbc" > ◆ < / a > < / span > AddWeightedSumLessOrEqualConstantDimension() < span class = "overload" > [3/3]< / span > < / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumLessOrEqualConstantDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_solver.html#a55d833360c375d45a3c503437de9841c" > Solver::IndexEvaluator2< / a >   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > bounds< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension imposes that for all bins b, the weighted sum (weights-> Run(i, b) of all objects i assigned to 'b' is less or equal to 'bounds[b]'. < / p >
2022-01-17 21:42:14 +01:00
< p > Ownership of the callback is transferred to the pack constraint. < / p >
2020-11-18 14:53:30 +01:00
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01549" > 1549< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a6ebc0cd271fe1413e48d14056dde1e44" name = "a6ebc0cd271fe1413e48d14056dde1e44" > < / a >
2021-04-27 23:00:03 +02:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a6ebc0cd271fe1413e48d14056dde1e44" > ◆ < / a > < / span > AddWeightedSumOfAssignedDimension()< / h2 >
2020-11-18 14:53:30 +01:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AddWeightedSumOfAssignedDimension < / td >
< td > (< / td >
2021-04-27 23:00:03 +02:00
< td class = "paramtype" > const std::vector< int64_t > &   < / td >
2020-11-18 14:53:30 +01:00
< td class = "paramname" > < em > weights< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > *const  < / td >
< td class = "paramname" > < em > cost_var< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This dimension enforces that cost_var == sum of weights[i] for all objects 'i' assigned to a bin. < / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l01579" > 1579< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "ac6980496b7938cb743ac658fd0d2d6c8" name = "ac6980496b7938cb743ac658fd0d2d6c8" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac6980496b7938cb743ac658fd0d2d6c8" > ◆ < / a > < / span > Assign()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void Assign < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00416" > 416< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "aa7cb2bb52c194f51ff28294b05c1e4af" name = "aa7cb2bb52c194f51ff28294b05c1e4af" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa7cb2bb52c194f51ff28294b05c1e4af" > ◆ < / a > < / span > AssignAllPossibleToBin()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AssignAllPossibleToBin < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00466" > 466< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "aedb66bf31047064fd332fb6c6afa027d" name = "aedb66bf31047064fd332fb6c6afa027d" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aedb66bf31047064fd332fb6c6afa027d" > ◆ < / a > < / span > AssignAllRemainingItems()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AssignAllRemainingItems < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00483" > 483< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a8d4b11f435b76c6568c2c0a08cccb976" name = "a8d4b11f435b76c6568c2c0a08cccb976" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a8d4b11f435b76c6568c2c0a08cccb976" > ◆ < / a > < / span > AssignFirstPossibleToBin()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void AssignFirstPossibleToBin < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00476" > 476< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "af2aa063b55dd569411d0fdc0c0ea6dfb" name = "af2aa063b55dd569411d0fdc0c0ea6dfb" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#af2aa063b55dd569411d0fdc0c0ea6dfb" > ◆ < / a > < / span > AssignVar()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "classoperations__research_1_1_int_var.html" > IntVar< / a > * AssignVar < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00432" > 432< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.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 = "aa7d76b766faf39c1652b6617eac5fe20" name = "aa7d76b766faf39c1652b6617eac5fe20" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa7d76b766faf39c1652b6617eac5fe20" > ◆ < / a > < / span > ClearAll()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void ClearAll < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00143" > 143< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.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_constraint.html#aed804747c45a7e1caf81461f9e45dd91" > Constraint< / a > .< / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00380" > 380< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.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 = "a36d844f2722273b190ed9a069dd25938" name = "a36d844f2722273b190ed9a069dd25938" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a36d844f2722273b190ed9a069dd25938" > ◆ < / 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" > 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" > override< / span > < span class = "mlabel" > 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
< p > Implements < a class = "el" href = "classoperations__research_1_1_constraint.html#a9100fab5545234f60a4ce442dbb45630" > Constraint< / a > .< / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00190" > 190< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a0f59dbe96df95bec0bbc8adb24789ed1" name = "a0f59dbe96df95bec0bbc8adb24789ed1" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a0f59dbe96df95bec0bbc8adb24789ed1" > ◆ < / a > < / span > IsAssignedStatusKnown()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool IsAssignedStatusKnown < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > < / td > < td > )< / td >
< td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00424" > 424< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / 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 = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > bool IsCastConstraint < / 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 > 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 = "a85ce8edd658bfd2632f78a4adb41fbf9" name = "a85ce8edd658bfd2632f78a4adb41fbf9" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a85ce8edd658bfd2632f78a4adb41fbf9" > ◆ < / a > < / span > IsPossible()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool IsPossible < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00428" > 428< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a5e647eb2942c419caa6d67acf062587a" name = "a5e647eb2942c419caa6d67acf062587a" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a5e647eb2942c419caa6d67acf062587a" > ◆ < / a > < / span > IsUndecided()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool IsUndecided < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > const< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00404" > 404< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.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 = "a96340e443923b721e76f2ff432a48954" name = "a96340e443923b721e76f2ff432a48954" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a96340e443923b721e76f2ff432a48954" > ◆ < / a > < / span > OneDomain()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void OneDomain < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00334" > 334< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a19d94d32f3bde30deeebb883c6f71f84" name = "a19d94d32f3bde30deeebb883c6f71f84" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a19d94d32f3bde30deeebb883c6f71f84" > ◆ < / 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" > 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" > override< / span > < span class = "mlabel" > 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
< p > Implements < a class = "el" href = "classoperations__research_1_1_constraint.html#af33bad3aa81a2f411224d5e471f9956f" > Constraint< / a > .< / p >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00127" > 127< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / 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 = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > void PostAndPropagate < / td >
< td > (< / td >
< td class = "paramname" > < / 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 > 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 = "a03fbaed2e89d3a0ed34ffe35af8c0ec6" name = "a03fbaed2e89d3a0ed34ffe35af8c0ec6" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a03fbaed2e89d3a0ed34ffe35af8c0ec6" > ◆ < / a > < / span > Propagate()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void Propagate < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00275" > 275< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "ac095c86328e93de5cab0a64db691c602" name = "ac095c86328e93de5cab0a64db691c602" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#ac095c86328e93de5cab0a64db691c602" > ◆ < / a > < / span > PropagateDelayed()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void PropagateDelayed < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00154" > 154< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "afd36445be20121bef02fe4847317ed0b" name = "afd36445be20121bef02fe4847317ed0b" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afd36445be20121bef02fe4847317ed0b" > ◆ < / a > < / span > RemoveAllPossibleFromBin()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void RemoveAllPossibleFromBin < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00456" > 456< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.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 = "a4b8051adf09b104fd5a58b21ea6f843f" name = "a4b8051adf09b104fd5a58b21ea6f843f" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4b8051adf09b104fd5a58b21ea6f843f" > ◆ < / a > < / span > SetAssigned()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SetAssigned < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00436" > 436< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a4997d785dafdc88e1e0459c398e80133" name = "a4997d785dafdc88e1e0459c398e80133" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4997d785dafdc88e1e0459c398e80133" > ◆ < / a > < / span > SetImpossible()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SetImpossible < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > bin_index< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00408" > 408< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / a > .< / p >
2020-11-18 14:53:30 +01:00
< / div >
< / div >
2022-01-17 21:42:14 +01:00
< a id = "a9799033614314d2e5be13a65628f32be" name = "a9799033614314d2e5be13a65628f32be" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a9799033614314d2e5be13a65628f32be" > ◆ < / a > < / span > SetUnassigned()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void SetUnassigned < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > var_index< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00444" > 444< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / 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 = "acb7a89e1a7071f6c46375fe31688e485" name = "acb7a89e1a7071f6c46375fe31688e485" > < / a >
2020-11-18 14:53:30 +01:00
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#acb7a89e1a7071f6c46375fe31688e485" > ◆ < / a > < / span > UnassignAllRemainingItems()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void UnassignAllRemainingItems < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2021-04-27 23:00:03 +02:00
< p class = "definition" > Definition at line < a class = "el" href = "pack_8cc_source.html#l00493" > 493< / a > of file < a class = "el" href = "pack_8cc_source.html" > pack.cc< / 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 class = "mlabel" > inherited< / 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 = "pack_8cc_source.html" > pack.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_pack.html" > Pack< / 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 >