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