Recording CHB for float variables.
More...
#include <float.hh>
|
| FloatCHB (void) |
| Construct as not yet initialized. More...
|
|
| FloatCHB (const FloatCHB &chb) |
| Copy constructor. More...
|
|
FloatCHB & | operator= (const FloatCHB &chb) |
| Assignment operator. More...
|
|
| FloatCHB (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr) |
| Initialize for float variables x. More...
|
|
void | init (Home home, const FloatVarArgs &x, FloatBranchMerit bm=nullptr) |
| Initialize for float variables x. More...
|
|
| CHB (void) |
| Construct as not yet intialized. More...
|
|
| CHB (const CHB &a) |
| Copy constructor. More...
|
|
CHB & | operator= (const CHB &a) |
| Assignment operator. More...
|
|
template<class View > |
| CHB (Home home, ViewArray< View > &x, typename BranchTraits< typename View::VarType >::Merit bm) |
| Initialize for views x and Q-score as defined by bm. More...
|
|
template<class View > |
void | init (Home home, ViewArray< View > &x, typename BranchTraits< typename View::VarType >::Merit bm) |
| Initialize for views x and Q-score as defined by bm. More...
|
|
| operator bool (void) const |
| Test whether already initialized. More...
|
|
void | update (Space &home, bool share, CHB &a) |
| Updating during cloning. More...
|
|
| ~CHB (void) |
| Destructor. More...
|
|
double | operator [] (int i) const |
| Return chb value at position i. More...
|
|
int | size (void) const |
| Return number of chb values. More...
|
|
Recording CHB for float variables.
Definition at line 1544 of file float.hh.
◆ FloatCHB() [1/3]
Gecode::FloatCHB::FloatCHB |
( |
void |
| ) |
|
|
inline |
Construct as not yet initialized.
The only member functions that can be used on a constructed but not yet initialized CHB storage is init or the assignment operator.
Definition at line 41 of file chb.hpp.
◆ FloatCHB() [2/3]
Gecode::FloatCHB::FloatCHB |
( |
const FloatCHB & |
chb | ) |
|
|
inline |
Copy constructor.
Definition at line 44 of file chb.hpp.
◆ FloatCHB() [3/3]
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.
Definition at line 42 of file chb.cpp.
◆ operator=()
Assignment operator.
Definition at line 48 of file chb.hpp.
◆ init()
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.
Definition at line 48 of file chb.cpp.
The documentation for this class was generated from the following files: