Value selection class for median of view. More...
#include <branch.hh>
Public Member Functions | |
ValSelMed (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValSelMed (Space &home, bool shared, ValSelMed &vs) | |
Constructor for cloning. | |
int | val (const Space &home, View x, int i) |
Return value of view x at position i. |
Value selection class for median of view.
Requires
#include <gecode/int/branch.hh>
Gecode::Int::Branch::ValSelMed< View >::ValSelMed | ( | Space & | home, |
const ValBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 70 of file val-sel.hpp.
Gecode::Int::Branch::ValSelMed< View >::ValSelMed | ( | Space & | home, |
bool | shared, | ||
ValSelMed< View > & | vs | ||
) | [inline] |
Constructor for cloning.
Definition at line 74 of file val-sel.hpp.
int Gecode::Int::Branch::ValSelMed< View >::val | ( | const Space & | home, |
View | x, | ||
int | i | ||
) | [inline] |
Return value of view x at position i.
Definition at line 78 of file val-sel.hpp.