Merit class for mimimum of integer views. More...
#include <branch.hh>
Public Member Functions | |
MeritMin (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritMin (Space &home, MeritMin &m) | |
Constructor for cloning. | |
int | operator() (const Space &home, View x, int i) |
Return minimum as merit for view x at position i. | |
Public Member Functions inherited from Gecode::MeritBase< View, int > | |
MeritBase (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) | |
void | dispose (Space &home) |
Delete view merit class. |
Additional Inherited Members | |
Public Types inherited from Gecode::MeritBase< View, int > | |
typedef View | View |
View type. | |
typedef View::VarType | Var |
Corresponding variable type. | |
typedef int | Val |
Type of merit. |
Merit class for mimimum of integer views.
Requires
Gecode::Int::Branch::MeritMin< View >::MeritMin | ( | Space & | home, |
const VarBranch< Var > & | vb ) |
Constructor for initialization.
|
inline |