Gecode::MeritDegree< View > Class Template Reference
[Generic merit for branchers based on view and value selection]
Merit class for degree. More...
#include <brancher-merit.hpp>
Public Member Functions | |
MeritDegree (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritDegree (Space &home, bool shared, MeritDegree &md) | |
Constructor for cloning. | |
unsigned int | operator() (const Space &home, View x, int i) |
Return degree as merit for view x at position i. |
Detailed Description
template<class View>
class Gecode::MeritDegree< View >
Merit class for degree.
Definition at line 97 of file brancher-merit.hpp.
Constructor & Destructor Documentation
template<class View >
Gecode::MeritDegree< View >::MeritDegree | ( | Space & | home, | |
const VarBranch< Var > & | vb | |||
) | [inline] |
Constructor for initialization.
Definition at line 230 of file brancher-merit.hpp.
template<class View >
Gecode::MeritDegree< View >::MeritDegree | ( | Space & | home, | |
bool | shared, | |||
MeritDegree< View > & | md | |||
) | [inline] |
Constructor for cloning.
Definition at line 234 of file brancher-merit.hpp.
Member Function Documentation
template<class View >
unsigned int Gecode::MeritDegree< View >::operator() | ( | const Space & | home, | |
View | x, | |||
int | i | |||
) | [inline] |
Return degree as merit for view x at position i.
Definition at line 239 of file brancher-merit.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-merit.hpp (Revision: 15541)