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