Gecode::Set::Branch::ValSelMed Class Reference
Value selection class for median of view. More...
#include <gecode/set/branch.hh>
Public Member Functions | |
| ValSelMed (Space &home, const ValBranch< Var > &vb) | |
| Constructor for initialization. | |
| ValSelMed (Space &home, ValSelMed &vs) | |
| Constructor for cloning. | |
| int | val (const Space &home, SetView x, int i) |
| Return value of view x at position i. | |
| Public Member Functions inherited from Gecode::ValSel< SetView, int > | |
| ValSel (Space &home, const ValBranch< Var > &vb) | |
| Constructor for initialization. | |
| bool | notice (void) const |
| Whether dispose must always be called (that is, notice is needed). | |
| void | dispose (Space &home) |
| Delete value selection. | |
Additional Inherited Members | |
| Public Types inherited from Gecode::ValSel< SetView, int > | |
| typedef SetView | View |
| View type. | |
| typedef View::VarType | Var |
| Corresponding variable type. | |
| typedef int | Val |
| Value type. | |
Detailed Description
Constructor & Destructor Documentation
◆ ValSelMed() [1/2]
Constructor for initialization.
Definition at line 69 of file val-sel.hpp.
◆ ValSelMed() [2/2]
|
inline |
Constructor for cloning.
Definition at line 72 of file val-sel.hpp.
Member Function Documentation
◆ val()
Return value of view x at position i.
Definition at line 75 of file val-sel.hpp.
The documentation for this class was generated from the following files:
- gecode/set/branch.hh
- gecode/set/branch/val-sel.hpp
