Class storing a branch filter function. More...
#include <brancher-filter.hpp>
Public Types | |
typedef View::VarType | Var |
The corresponding variable type. More... | |
Public Member Functions | |
BrancherFilter (BranchFilter< Var > bf) | |
Initialize. More... | |
BrancherFilter (Space &home, bool shared, BrancherFilter &bf) | |
Initialize during cloning. More... | |
operator bool (void) const | |
Whether filtering is enabled. More... | |
bool | operator() (const Space &home, View x, int i) const |
Invoke filter function. More... | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed) More... | |
void | dispose (Space &home) |
Delete object. More... | |
Protected Attributes | |
SharedData< BranchFilter< Var > > | f |
Class storing a branch filter function.
Definition at line 49 of file brancher-filter.hpp.
typedef View::VarType Gecode::BrancherFilter< View >::Var |
The corresponding variable type.
Definition at line 52 of file brancher-filter.hpp.
|
inline |
Initialize.
Definition at line 94 of file brancher-filter.hpp.
|
inline |
Initialize during cloning.
Definition at line 101 of file brancher-filter.hpp.
|
inline |
Whether filtering is enabled.
Definition at line 108 of file brancher-filter.hpp.
|
inline |
Invoke filter function.
Definition at line 114 of file brancher-filter.hpp.
|
inline |
Whether dispose must always be called (that is, notice is needed)
Definition at line 122 of file brancher-filter.hpp.
|
inline |
Delete object.
Definition at line 128 of file brancher-filter.hpp.
|
protected |
Definition at line 54 of file brancher-filter.hpp.