Merit class for action. More...
#include <merit.hpp>
Public Member Functions | |
MeritAction (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. More... | |
MeritAction (Space &home, MeritAction &ma) | |
Constructor for cloning. More... | |
double | operator() (const Space &home, View x, int i) |
Return action 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... | |
![]() | |
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 | |
![]() | |
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.
Gecode::MeritAction< View >::MeritAction | ( | Space & | home, |
const VarBranch< Var > & | vb | ||
) |
Constructor for initialization.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |