
Recording actions for set variables. More...
#include <set.hh>
Public Member Functions | |
| SetAction (void) | |
| Construct as not yet initialized. More... | |
| Copy constructor | SetAction (const SetAction &a) |
| Assignment | operator SetAction &operator= (const SetAction &a) |
| SetAction (Home home, const SetVarArgs &x, double d=1.0, SetBranchMerit bm=nullptr) | |
| Initialize for set variables x with decay factor d. More... | |
| void | init (Home home, const SetVarArgs &x, double d=1.0, SetBranchMerit bm=nullptr) |
| Initialize for set variables x with decay factor d. More... | |
Public Member Functions inherited from Gecode::Action | |
| Action (void) | |
| Construct as not yet intialized. More... | |
| Action (const Action &a) | |
| Copy constructor. More... | |
| Action & | operator= (const Action &a) |
| Assignment operator. More... | |
| template<class View > | |
| Action (Home home, ViewArray< View > &x, double d, typename BranchTraits< typename View::VarType >::Merit bm) | |
| Initialize for views x and decay factor d and action as defined by bm. More... | |
| template<class View > | |
| void | init (Home home, ViewArray< View > &x, double d, typename BranchTraits< typename View::VarType >::Merit bm) |
| Initialize for views x and decay factor d and action as defined by bm. More... | |
| operator bool (void) const | |
| Test whether already initialized. More... | |
| void | update (Space &home, bool share, Action &a) |
| Updating during cloning. More... | |
| ~Action (void) | |
| Destructor. More... | |
| double | operator[] (int i) const |
| Return action value at position i. More... | |
| int | size (void) const |
| Return number of action values. More... | |
| void | decay (Space &home, double d) |
| Set decay factor to d. More... | |
| double | decay (const Space &home) const |
| Return decay factor. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Gecode::Action | |
| static const Action | def |
| Default (empty) action information. More... | |
Protected Member Functions inherited from Gecode::Action | |
| void | update (int i) |
| Update action value at position i. More... | |
| void | acquire (void) |
| Acquire mutex. More... | |
| void | release (void) |
| Release mutex. More... | |
Protected Attributes inherited from Gecode::Action | |
| Storage * | storage |
| Pointer to storage object. More... | |
Related Functions inherited from Gecode::Action | |
| template<class Char , class Traits > | |
| std::basic_ostream< Char, Traits > & | operator<< (std::basic_ostream< Char, Traits > &os, const Action &a) |
| Print action values enclosed in curly brackets. More... | |