Gecode::Int::Branch::ValSelMed< View > Class Template Reference
[Integer value selection for brancher]
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. |
Detailed Description
template<class View>
class Gecode::Int::Branch::ValSelMed< View >
Value selection class for median of view.
Requires
#include <gecode/int/branch.hh>
Definition at line 317 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::ValSelMed< View >::ValSelMed | ( | Space & | home, | |
const ValBranch< Var > & | vb | |||
) |
Constructor for initialization.
template<class View >
Gecode::Int::Branch::ValSelMed< View >::ValSelMed | ( | Space & | home, | |
ValSelMed< View > & | vs | |||
) | [inline] |
Constructor for cloning.
Definition at line 73 of file val-sel.hpp.
Member Function Documentation
template<class View >
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 77 of file val-sel.hpp.
The documentation for this class was generated from the following files:
- gecode/int/branch.hh
- gecode/int/branch/val-sel.hpp