Gecode::Int::Branch::ValZeroOne< View > Class Template Reference
[Integer value selection for branching]
#include <branch.hh>
Detailed Description
template<class View>
class Gecode::Int::Branch::ValZeroOne< View >
Class for trying zero and then one.
Requires
#include "gecode/int/branch.hh"
Definition at line 185 of file branch.hh.
Public Member Functions | |
NoValue | val (const Space *home, View x) const |
Return no value of view x. | |
ModEvent | tell (Space *home, unsigned int a, View x, NoValue n) |
Tell ![]() ![]() | |
void | branchingSpec (const Space *home, Reflection::VarMap &m, Reflection::BranchingSpec &bs, int alt, View x, NoValue n) const |
Specification of a branch (for reflection). | |
Static Public Member Functions | |
static Support::Symbol | type (void) |
Type of this value selection (for reflection). |
Member Function Documentation
template<class View>
NoValue Gecode::Int::Branch::ValZeroOne< View >::val | ( | const Space * | home, | |
View | x | |||
) | const [inline] |
template<class View>
ModEvent Gecode::Int::Branch::ValZeroOne< View >::tell | ( | Space * | home, | |
unsigned int | a, | |||
View | x, | |||
NoValue | n | |||
) | [inline] |
template<class View>
Support::Symbol Gecode::Int::Branch::ValZeroOne< View >::type | ( | void | ) | [inline, static] |
template<class View>
void Gecode::Int::Branch::ValZeroOne< View >::branchingSpec | ( | const Space * | home, | |
Reflection::VarMap & | m, | |||
Reflection::BranchingSpec & | bs, | |||
int | alt, | |||
View | x, | |||
NoValue | n | |||
) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 7310)
- gecode/int/branch/select-val.icc (Revision: 7297)