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 &vb) | |
Constructor for initialization. | |
MeritMax (Space &home, bool shared, 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 86 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::MeritMax< View >::MeritMax | ( | Space & | home, | |
const VarBranch & | vb | |||
) | [inline] |
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:
- gecode/int/branch.hh (Revision: 13827)
- gecode/int/branch/merit.hpp (Revision: 13313)