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