
Merit class for activity. More...
#include <brancher-merit.hpp>
Public Member Functions | |
| MeritActivity (Space &home, const VarBranch &vb) | |
| Constructor for initialization. More... | |
| MeritActivity (Space &home, bool shared, MeritActivity &ma) | |
| Constructor for cloning. More... | |
| double | operator() (const Space &home, View x, int i) |
| Return activity 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 &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 | |
| Activity | activity |
| Activity information. More... | |
Additional Inherited Members | |
Public Types inherited from Gecode::MeritBase< View, double > | |
| typedef View | View |
| View type. More... | |
| typedef double | Val |
| Type of merit. More... | |
Merit class for activity.
Definition at line 127 of file brancher-merit.hpp.
|
inline |
Constructor for initialization.
Definition at line 228 of file brancher-merit.hpp.
|
inline |
Constructor for cloning.
Definition at line 232 of file brancher-merit.hpp.
|
inline |
Return activity as merit for view x at position i.
Definition at line 239 of file brancher-merit.hpp.
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 244 of file brancher-merit.hpp.
|
inline |
Dispose view selection.
Definition at line 249 of file brancher-merit.hpp.
|
protected |
Activity information.
Definition at line 130 of file brancher-merit.hpp.