Merit class for action over size.
More...
#include <branch.hh>
|
| MeritActionSize (Space &home, const VarBranch< Var > &vb) |
| Constructor for initialization. More...
|
|
| MeritActionSize (Space &home, bool shared, MeritActionSize &m) |
| Constructor for cloning. More...
|
|
double | operator() (const Space &home, FloatView x, int i) |
| Return action 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 action over size.
Requires
Definition at line 157 of file branch.hh.
◆ MeritActionSize() [1/2]
Gecode::Float::Branch::MeritActionSize::MeritActionSize |
( |
Space & |
home, |
|
|
const VarBranch< Var > & |
vb |
|
) |
| |
|
inline |
Constructor for initialization.
Definition at line 117 of file merit.hpp.
◆ MeritActionSize() [2/2]
Gecode::Float::Branch::MeritActionSize::MeritActionSize |
( |
Space & |
home, |
|
|
bool |
shared, |
|
|
MeritActionSize & |
m |
|
) |
| |
|
inline |
Constructor for cloning.
Definition at line 121 of file merit.hpp.
◆ operator()()
double Gecode::Float::Branch::MeritActionSize::operator() |
( |
const Space & |
home, |
|
|
FloatView |
x, |
|
|
int |
i |
|
) |
| |
|
inline |
Return action over size as merit for view x at position i.
Definition at line 127 of file merit.hpp.
◆ notice()
bool Gecode::Float::Branch::MeritActionSize::notice |
( |
void |
| ) |
const |
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 131 of file merit.hpp.
◆ dispose()
void Gecode::Float::Branch::MeritActionSize::dispose |
( |
Space & |
home | ) |
|
|
inline |
Dispose view selection.
Definition at line 135 of file merit.hpp.
◆ action
Action Gecode::Float::Branch::MeritActionSize::action |
|
protected |
The documentation for this class was generated from the following files: