- Gecode
- Int
- Branch
- MeritActionSize

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