Value selection class for median of view. More...
#include <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, View x, int i) |
Return value of view x at position i. | |
![]() | |
ValSel (Space &home, const ValBranch< Var > &vb) | |
Constructor for initialization. | |
ValSel (Space &home, ValSel< View, Val > &vs) | |
Constructor for cloning. | |
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 | |
![]() | |
typedef View | View |
View type. | |
typedef View::VarType | Var |
Corresponding variable type. | |
typedef int | Val |
Value type. | |
Value selection class for median of view.
Requires
Gecode::Int::Branch::ValSelMed< View >::ValSelMed | ( | Space & | home, |
const ValBranch< Var > & | vb ) |
Constructor for initialization.
|
inline |
Constructor for cloning.
Definition at line 73 of file val-sel.hpp.
|
inline |
Return value of view x at position i.
Definition at line 77 of file val-sel.hpp.