Gecode::MeritCHB< View > Class Template Reference
#include <brancher-merit.hpp>
Public Member Functions | |
MeritCHB (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritCHB (Space &home, bool shared, MeritCHB &ma) | |
Constructor for cloning. | |
double | operator() (const Space &home, View x, int i) |
Return action as merit for view x at position i. | |
bool | notice (void) const |
Whether dispose must always be called (that is, notice is needed). | |
void | dispose (Space &home) |
Dispose view selection. | |
Protected Attributes | |
CHB | chb |
CHB information. |
Detailed Description
template<class View>
class Gecode::MeritCHB< View >
Merit class for CHB.
Definition at line 157 of file brancher-merit.hpp.
Constructor & Destructor Documentation
template<class View >
Gecode::MeritCHB< View >::MeritCHB | ( | Space & | home, | |
const VarBranch< Var > & | vb | |||
) | [inline] |
Constructor for initialization.
Definition at line 303 of file brancher-merit.hpp.
template<class View >
Gecode::MeritCHB< View >::MeritCHB | ( | Space & | home, | |
bool | shared, | |||
MeritCHB< View > & | ma | |||
) | [inline] |
Constructor for cloning.
Definition at line 307 of file brancher-merit.hpp.
Member Function Documentation
template<class View >
double Gecode::MeritCHB< View >::operator() | ( | const Space & | home, | |
View | x, | |||
int | i | |||
) | [inline] |
Return action as merit for view x at position i.
Definition at line 314 of file brancher-merit.hpp.
template<class View >
bool Gecode::MeritCHB< View >::notice | ( | void | ) | const [inline] |
Whether dispose must always be called (that is, notice is needed).
Reimplemented from Gecode::MeritBase< View, double >.
Definition at line 319 of file brancher-merit.hpp.
template<class View >
void Gecode::MeritCHB< View >::dispose | ( | Space & | home | ) | [inline] |
Dispose view selection.
Reimplemented from Gecode::MeritBase< View, double >.
Definition at line 324 of file brancher-merit.hpp.
Member Data Documentation
template<class View >
CHB Gecode::MeritCHB< View >::chb [protected] |
CHB information.
Definition at line 161 of file brancher-merit.hpp.
The documentation for this class was generated from the following file:
- gecode/kernel/brancher-merit.hpp (Revision: 15541)