Merit class for AFC 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 AFC over size.
Requires
Definition at line 130 of file branch.hh.
◆ MeritAFCSize() [1/2]
Gecode::Float::Branch::MeritAFCSize::MeritAFCSize |
( |
Space & | home, |
|
|
const VarBranch< Var > & | vb ) |
|
inline |
Constructor for initialization.
Definition at line 91 of file merit.hpp.
◆ MeritAFCSize() [2/2]
Constructor for cloning.
Definition at line 94 of file merit.hpp.
◆ operator()()
double Gecode::Float::Branch::MeritAFCSize::operator() |
( |
const Space & | home, |
|
|
FloatView | x, |
|
|
int | i ) |
|
inline |
Return AFC over size as merit for view x at position i.
Definition at line 97 of file merit.hpp.
◆ notice()
bool Gecode::Float::Branch::MeritAFCSize::notice |
( |
void | | ) |
const |
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 101 of file merit.hpp.
◆ dispose()
void Gecode::Float::Branch::MeritAFCSize::dispose |
( |
Space & | home | ) |
|
|
inline |
Dispose view selection.
Definition at line 105 of file merit.hpp.
◆ afc
AFC Gecode::Float::Branch::MeritAFCSize::afc |
|
protected |
The documentation for this class was generated from the following files: