Gecode::Int::Branch::MeritRegretMin< View > Class Template Reference
[Merit-based integer view selection for branchers]
Merit class for minimum regret. More...
#include <branch.hh>
Public Member Functions | |
MeritRegretMin (Space &home, const VarBranch &vb) | |
Constructor for initialization. | |
MeritRegretMin (Space &home, bool shared, MeritRegretMin &m) | |
Constructor for cloning. | |
unsigned int | operator() (const Space &home, View x, int i) |
Return minimum regret as merit for view x at position i. |
Detailed Description
template<class View>
class Gecode::Int::Branch::MeritRegretMin< View >
Merit class for minimum regret.
Requires
#include <gecode/int/branch.hh>
Definition at line 185 of file branch.hh.
Constructor & Destructor Documentation
template<class View >
Gecode::Int::Branch::MeritRegretMin< View >::MeritRegretMin | ( | Space & | home, | |
const VarBranch & | vb | |||
) | [inline] |
template<class View >
Gecode::Int::Branch::MeritRegretMin< View >::MeritRegretMin | ( | Space & | home, | |
bool | shared, | |||
MeritRegretMin< View > & | m | |||
) | [inline] |
Member Function Documentation
template<class View >
unsigned int Gecode::Int::Branch::MeritRegretMin< 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)