
Merit class for action. More...
#include <brancher-merit.hpp>
Public Member Functions | |
| MeritAction (Space &home, const VarBranch< Var > &vb) | |
| Constructor for initialization. More... | |
| MeritAction (Space &home, bool shared, 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... | |
Public Member Functions inherited from Gecode::MeritBase< View, double > | |
| MeritBase (Space &home, const VarBranch< Var > &vb) | |
| Constructor for initialization. More... | |
| MeritBase (Space &home, bool share, 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.
Definition at line 134 of file brancher-merit.hpp.
|
inline |
Constructor for initialization.
Definition at line 275 of file brancher-merit.hpp.
|
inline |
Constructor for cloning.
Definition at line 279 of file brancher-merit.hpp.
|
inline |
Return action as merit for view x at position i.
Definition at line 286 of file brancher-merit.hpp.
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 291 of file brancher-merit.hpp.
|
inline |
Dispose view selection.
Definition at line 296 of file brancher-merit.hpp.
|
protected |
Action information.
Definition at line 138 of file brancher-merit.hpp.