Gecode::IntAction Class Reference
[Branching]
Recording actions for integer variables. More...
#include <int.hh>
Public Member Functions | |
IntAction (void) | |
Construct as not yet initialized. | |
IntAction (const IntAction &a) | |
Copy constructor. | |
IntAction & | operator= (const IntAction &a) |
Assignment operator. | |
IntAction (Home home, const IntVarArgs &x, double d=1.0, IntBranchMerit bm=nullptr) | |
Initialize for integer variables x with decay factor d. | |
void | init (Home home, const IntVarArgs &x, double d=1.0, IntBranchMerit bm=nullptr) |
Initialize for integer variables x with decay factor d. |
Detailed Description
Recording actions for integer variables.
Definition at line 4300 of file int.hh.
Constructor & Destructor Documentation
Gecode::IntAction::IntAction | ( | void | ) | [inline] |
Construct as not yet initialized.
The only member functions that can be used on a constructed but not yet initialized action storage is init or the assignment operator.
Definition at line 37 of file action.hpp.
Gecode::IntAction::IntAction | ( | const IntAction & | a | ) | [inline] |
Copy constructor.
Definition at line 40 of file action.hpp.
Gecode::IntAction::IntAction | ( | Home | home, | |
const IntVarArgs & | x, | |||
double | d = 1.0 , |
|||
IntBranchMerit | bm = nullptr | |||
) |
Initialize for integer variables x with decay factor d.
If the branch merit function bm is different from nullptr, the action for each variable is initialized with the merit returned by bm.
Definition at line 38 of file action.cpp.
Member Function Documentation
Assignment operator.
Definition at line 44 of file action.hpp.
void Gecode::IntAction::init | ( | Home | home, | |
const IntVarArgs & | x, | |||
double | d = 1.0 , |
|||
IntBranchMerit | bm = nullptr | |||
) |
Initialize for integer variables x with decay factor d.
If the branch merit function bm is different from nullptr, the action for each variable is initialized with the merit returned by bm.
This member function can only be used once and only if the action storage has been constructed with the default constructor.
Definition at line 45 of file action.cpp.
The documentation for this class was generated from the following files:
- gecode/int.hh
- gecode/int/branch/action.cpp
- gecode/int/branch/action.hpp