Gecode::BoolCHB Class Reference
[Branching]
Recording CHB for Boolean variables. More...
#include <int.hh>
Public Member Functions | |
BoolCHB (void) | |
Construct as not yet initialized. | |
BoolCHB (const BoolCHB &chb) | |
Copy constructor. | |
BoolCHB & | operator= (const BoolCHB &chb) |
Assignment operator. | |
BoolCHB (Home home, const BoolVarArgs &x, BoolBranchMerit bm=nullptr) | |
Initialize for Boolean variables x. | |
void | init (Home home, const BoolVarArgs &x, BoolBranchMerit bm=nullptr) |
Initialize for Boolean variables x. |
Detailed Description
Recording CHB for Boolean variables.
Definition at line 4151 of file int.hh.
Constructor & Destructor Documentation
Gecode::BoolCHB::BoolCHB | ( | void | ) | [inline] |
Gecode::BoolCHB::BoolCHB | ( | const BoolCHB & | chb | ) | [inline] |
Gecode::BoolCHB::BoolCHB | ( | Home | home, | |
const BoolVarArgs & | x, | |||
BoolBranchMerit | bm = nullptr | |||
) |
Member Function Documentation
void Gecode::BoolCHB::init | ( | Home | home, | |
const BoolVarArgs & | x, | |||
BoolBranchMerit | bm = nullptr | |||
) |
Initialize for Boolean variables x.
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.
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 15623)
- gecode/int/branch/chb.cpp (Revision: 15527)
- gecode/int/branch/chb.hpp (Revision: 15527)