Gecode::Int::Branch::ValOneZero< View > Class Template Reference
[Integer value selection for branching]
#include <branch.hh>
Detailed Description
template<class View>
class Gecode::Int::Branch::ValOneZero< View >
Class for trying one and then zero.
Requires
#include "gecode/int/branch.hh"
Definition at line 207 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 (a = 0) or (a = 1). | |
| 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::ValOneZero< View >::val | ( | const Space * | home, | |
| View | x | |||
| ) | const [inline] |
template<class View>
| ModEvent Gecode::Int::Branch::ValOneZero< View >::tell | ( | Space * | home, | |
| unsigned int | a, | |||
| View | x, | |||
| NoValue | n | |||
| ) | [inline] |
template<class View>
| Support::Symbol Gecode::Int::Branch::ValOneZero< View >::type | ( | void | ) | [inline, static] |
template<class View>
| void Gecode::Int::Branch::ValOneZero< 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)

(a = 0) or
(a = 1).