Gecode::FloatCHB Class Reference
[Branching on float variables]
Recording CHB for float variables. More...
#include <float.hh>
Public Member Functions | |
FloatCHB (void) | |
Construct as not yet initialized. | |
FloatCHB (const FloatCHB &chb) | |
Copy constructor. | |
FloatCHB & | operator= (const FloatCHB &chb) |
Assignment operator. | |
FloatCHB (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr) | |
Initialize for float variables x. | |
void | init (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr) |
Initialize for float variables x. |
Detailed Description
Recording CHB for float variables.
Definition at line 1607 of file float.hh.
Constructor & Destructor Documentation
Gecode::FloatCHB::FloatCHB | ( | void | ) | [inline] |
Gecode::FloatCHB::FloatCHB | ( | const FloatCHB & | chb | ) | [inline] |
Gecode::FloatCHB::FloatCHB | ( | Home | home, | |
const FloatVarArgs & | x, | |||
FloatBranchMerit | bm = nullptr | |||
) |
Member Function Documentation
void Gecode::FloatCHB::init | ( | Home | home, | |
const FloatVarArgs & | x, | |||
FloatBranchMerit | bm = nullptr | |||
) |
Initialize for float 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: