Gecode::Int::Branch::ValSplitMin< View > Class Template Reference
[Integer value selection for brancher]
Class for splitting domain at mean of smallest and largest element (lower half first). More...
#include <branch.hh>
Public Member Functions | |
| ValSplitMin (void) | |
| Default constructor. | |
| ValSplitMin (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| int | val (Space &home, View x) const |
| Return minimum value of view x. | |
| ModEvent | tell (Space &home, unsigned int a, View x, int n) |
Tell (a = 0) or (a = 1). | |
Detailed Description
template<class View>
class Gecode::Int::Branch::ValSplitMin< View >
Class for splitting domain at mean of smallest and largest element (lower half first).
Requires
#include <gecode/int/branch.hh>
Definition at line 145 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Int::Branch::ValSplitMin< View >::ValSplitMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 128 of file select-val.hpp.
template<class View >
| Gecode::Int::Branch::ValSplitMin< View >::ValSplitMin | ( | Space & | home, | |
| const ValBranchOptions & | vbo | |||
| ) | [inline] |
Constructor for initialization.
Definition at line 131 of file select-val.hpp.
Member Function Documentation
template<class View >
| int Gecode::Int::Branch::ValSplitMin< View >::val | ( | Space & | home, | |
| View | x | |||
| ) | const [inline] |
Return minimum value of view x.
Definition at line 136 of file select-val.hpp.
template<class View >
| ModEvent Gecode::Int::Branch::ValSplitMin< View >::tell | ( | Space & | home, | |
| unsigned int | a, | |||
| View | x, | |||
| int | n | |||
| ) | [inline] |
Tell
(a = 0) or
(a = 1).
Definition at line 141 of file select-val.hpp.
The documentation for this class was generated from the following files:
- gecode/int/branch.hh (Revision: 12001)
- gecode/int/branch/select-val.hpp (Revision: 12001)
