Base-class for merit class. More...
#include <merit.hpp>
Public Types | |
typedef _View | View |
View type. | |
typedef View::VarType | Var |
Corresponding variable type. | |
typedef _Val | Val |
Type of merit. |
Public Member Functions | |
MeritBase (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritBase (Space &home, MeritBase &mb) | |
Constructor for cloning. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) | |
void | dispose (Space &home) |
Delete view merit class. |
Base-class for merit class.
typedef _View Gecode::MeritBase< _View, _Val >::View |
typedef View::VarType Gecode::MeritBase< _View, _Val >::Var |
typedef _Val Gecode::MeritBase< _View, _Val >::Val |
|
inline |
|
inline |