Gecode::Int::Branch::MeritMax< View > Class Template Reference
[Merit-based integer view selection for branchers]
Merit class for maximum. More...
#include <branch.hh>
Public Member Functions | |
MeritMax (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritMax (Space &home, MeritMax &m) | |
Constructor for cloning. | |
int | operator() (const Space &home, View x, int i) |
Return maximum as merit for view x at position i. |
Detailed Description
template<class View>
class Gecode::Int::Branch::MeritMax< View >
Merit class for maximum.
Requires
#include <gecode/int/branch.hh>
Definition at line 87 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::MeritMax< View >::MeritMax | ( | Space & | home, | |
const VarBranch< Var > & | vb | |||
) |
Constructor for initialization.
Member Function Documentation
template<class View >
int Gecode::Int::Branch::MeritMax< View >::operator() | ( | const Space & | home, | |
View | x, | |||
int | i | |||
) | [inline] |
The documentation for this class was generated from the following files: