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