Gecode::Int::Branch::MeritSize< View > Class Template Reference
#include <gecode/int/branch.hh>
Public Member Functions | |
| MeritSize (Space &home, const VarBranch< Var > &vb) | |
| Constructor for initialization. | |
| MeritSize (Space &home, MeritSize &m) | |
| Constructor for cloning. | |
| unsigned int | operator() (const Space &home, View x, int i) |
| Return size as merit for view x at position i. | |
| Public Member Functions inherited from Gecode::MeritBase< View, unsigned 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, unsigned int > | |
| typedef View | View |
| View type. | |
| typedef View::VarType | Var |
| Corresponding variable type. | |
| typedef unsigned int | Val |
| Type of merit. | |
Detailed Description
template<class View>
class Gecode::Int::Branch::MeritSize< View >
class Gecode::Int::Branch::MeritSize< View >
Merit class for size.
Requires
#include <gecode/int/branch.hh>
Constructor & Destructor Documentation
◆ MeritSize() [1/2]
template<class View>
| Gecode::Int::Branch::MeritSize< View >::MeritSize | ( | Space & | home, |
| const VarBranch< Var > & | vb ) |
Constructor for initialization.
◆ MeritSize() [2/2]
template<class View>
|
inline |
Member Function Documentation
◆ operator()()
template<class View>
|
inline |
The documentation for this class was generated from the following files:
