Merit class for CHB Q-score over size.
More...
#include <branch.hh>
|
| MeritCHBSize (Space &home, const VarBranch< Var > &vb) |
| Constructor for initialization. More...
|
|
| MeritCHBSize (Space &home, bool shared, MeritCHBSize &m) |
| Constructor for cloning. More...
|
|
double | operator() (const Space &home, FloatView x, int i) |
| Return CHB Q-score over size as merit for view x at position i. More...
|
|
bool | notice (void) const |
| Whether dispose must always be called (that is, notice is needed) More...
|
|
void | dispose (Space &home) |
| Dispose view selection. More...
|
|
| MeritBase (Space &home, const VarBranch< Var > &vb) |
| Constructor for initialization. More...
|
|
| MeritBase (Space &home, bool share, MeritBase &mb) |
| Constructor for cloning. More...
|
|
bool | notice (void) const |
| Whether dispose must always be called (that is, notice is needed) More...
|
|
void | dispose (Space &home) |
| Delete view merit class. More...
|
|
Merit class for CHB Q-score over size.
Requires
Definition at line 180 of file branch.hh.
◆ MeritCHBSize() [1/2]
Gecode::Float::Branch::MeritCHBSize::MeritCHBSize |
( |
Space & |
home, |
|
|
const VarBranch< Var > & |
vb |
|
) |
| |
|
inline |
Constructor for initialization.
Definition at line 142 of file merit.hpp.
◆ MeritCHBSize() [2/2]
Gecode::Float::Branch::MeritCHBSize::MeritCHBSize |
( |
Space & |
home, |
|
|
bool |
shared, |
|
|
MeritCHBSize & |
m |
|
) |
| |
|
inline |
Constructor for cloning.
Definition at line 146 of file merit.hpp.
◆ operator()()
double Gecode::Float::Branch::MeritCHBSize::operator() |
( |
const Space & |
home, |
|
|
FloatView |
x, |
|
|
int |
i |
|
) |
| |
|
inline |
Return CHB Q-score over size as merit for view x at position i.
Definition at line 152 of file merit.hpp.
◆ notice()
bool Gecode::Float::Branch::MeritCHBSize::notice |
( |
void |
| ) |
const |
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 156 of file merit.hpp.
◆ dispose()
void Gecode::Float::Branch::MeritCHBSize::dispose |
( |
Space & |
home | ) |
|
|
inline |
Dispose view selection.
Definition at line 160 of file merit.hpp.
◆ chb
CHB Gecode::Float::Branch::MeritCHBSize::chb |
|
protected |
The documentation for this class was generated from the following files: