Gecode::Float::Branch::MeritCHBSize Class Reference
[Merit-based float view selection for branchers]
Merit class for CHB Q-score over size. More...
#include <branch.hh>
Public Member Functions | |
MeritCHBSize (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritCHBSize (Space &home, MeritCHBSize &m) | |
Constructor for cloning. | |
double | operator() (const Space &home, FloatView x, int i) |
Return CHB Q-score over size as merit for view x at position i. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed). | |
void | dispose (Space &home) |
Dispose view selection. | |
Protected Attributes | |
CHB | chb |
CHB information. |
Detailed Description
Merit class for CHB Q-score over size.
Requires
#include <gecode/float/branch.hh>
Definition at line 176 of file branch.hh.
Constructor & Destructor Documentation
Gecode::Float::Branch::MeritCHBSize::MeritCHBSize | ( | Space & | home, | |
MeritCHBSize & | m | |||
) | [inline] |
Member Function Documentation
bool Gecode::Float::Branch::MeritCHBSize::notice | ( | void | ) | const [inline] |
Whether dispose must always be called (that is, notice is needed).
Reimplemented from Gecode::MeritBase< FloatView, double >.
void Gecode::Float::Branch::MeritCHBSize::dispose | ( | Space & | home | ) | [inline] |
Dispose view selection.
Reimplemented from Gecode::MeritBase< FloatView, double >.
Member Data Documentation
CHB Gecode::Float::Branch::MeritCHBSize::chb [protected] |
The documentation for this class was generated from the following files: