Gecode::Int::Branch::ValSelMax< View > Class Template Reference
[Integer value selection for brancher]
Value selection class for maximum of view. More...
#include <branch.hh>
Public Member Functions | |
ValSelMax (Space &home, const ValBranch< Var > &vb) | |
Constructor for initialization. | |
ValSelMax (Space &home, ValSelMax &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::ValSelMax< View >
Value selection class for maximum of view.
Requires
#include <gecode/int/branch.hh>
Definition at line 299 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::ValSelMax< View >::ValSelMax | ( | Space & | home, | |
const ValBranch< Var > & | vb | |||
) |
Constructor for initialization.
template<class View >
Gecode::Int::Branch::ValSelMax< View >::ValSelMax | ( | Space & | home, | |
ValSelMax< View > & | vs | |||
) | [inline] |
Constructor for cloning.
Definition at line 58 of file val-sel.hpp.
Member Function Documentation
template<class View >
int Gecode::Int::Branch::ValSelMax< View >::val | ( | const Space & | home, | |
View | x, | |||
int | i | |||
) | [inline] |
Return value of view x at position i.
Definition at line 62 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