Merit class for CHB Q-score over size.
More...
#include <branch.hh>
|
typedef FloatView | View |
| View type.
|
|
typedef View::VarType | Var |
| Corresponding variable type.
|
|
typedef double | Val |
| Type of merit.
|
|
Merit class for CHB Q-score over size.
Requires
Definition at line 176 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 135 of file merit.hpp.
◆ MeritCHBSize() [2/2]
Constructor for cloning.
Definition at line 139 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 143 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 147 of file merit.hpp.
◆ dispose()
void Gecode::Float::Branch::MeritCHBSize::dispose |
( |
Space & | home | ) |
|
|
inline |
Dispose view selection.
Definition at line 151 of file merit.hpp.
◆ chb
CHB Gecode::Float::Branch::MeritCHBSize::chb |
|
protected |
The documentation for this class was generated from the following files: