Gecode::Int::Branch::ValZeroOne< View > Class Template Reference
[Integer value selection for branching]
Class for trying zero and then one.
More...
#include <branch.hh>
Public Member Functions | |
| ValZeroOne (void) | |
| Default constructor. | |
| ValZeroOne (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| NoValue | val (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). | |
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 167 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Int::Branch::ValZeroOne< View >::ValZeroOne | ( | void | ) | [inline] |
template<class View >
| Gecode::Int::Branch::ValZeroOne< View >::ValZeroOne | ( | Space & | home, | |
| const ValBranchOptions & | vbo | |||
| ) | [inline] |
Member Function Documentation
template<class View>
| NoValue Gecode::Int::Branch::ValZeroOne< View >::val | ( | Space & | home, | |
| View | x | |||
| ) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 9095)
- gecode/int/branch/select-val.hpp (Revision: 9095)

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