Gecode::FlatZinc::MeritMaxCHB Class Reference
Select by maximal CHB. More...
#include <branch.hh>
Public Member Functions | |
MeritMaxCHB (Space &home, const IntBoolVarBranch &ibvb) | |
Constructor for initialization. | |
MeritMaxCHB (Space &home, MeritMaxCHB &m) | |
Constructor for cloning. | |
double | operator() (Int::IntView x, int i) const |
Return merit. | |
double | operator() (Int::BoolView x, int i) const |
Return merit. | |
void | dispose (void) |
Dispose. | |
Protected Attributes | |
IntCHB | ichb |
Integer CHB information. | |
BoolCHB | bchb |
Boolean CHB information. |
Detailed Description
Select by maximal CHB.
Definition at line 206 of file branch.hh.
Constructor & Destructor Documentation
Gecode::FlatZinc::MeritMaxCHB::MeritMaxCHB | ( | Space & | home, | |
const IntBoolVarBranch & | ibvb | |||
) | [inline] |
Constructor for initialization.
Definition at line 249 of file branch.hpp.
Gecode::FlatZinc::MeritMaxCHB::MeritMaxCHB | ( | Space & | home, | |
MeritMaxCHB & | m | |||
) | [inline] |
Constructor for cloning.
Definition at line 252 of file branch.hpp.
Member Function Documentation
double Gecode::FlatZinc::MeritMaxCHB::operator() | ( | Int::IntView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 255 of file branch.hpp.
double Gecode::FlatZinc::MeritMaxCHB::operator() | ( | Int::BoolView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 259 of file branch.hpp.
void Gecode::FlatZinc::MeritMaxCHB::dispose | ( | void | ) | [inline] |
Dispose.
Definition at line 263 of file branch.hpp.
Member Data Documentation
IntCHB Gecode::FlatZinc::MeritMaxCHB::ichb [protected] |
BoolCHB Gecode::FlatZinc::MeritMaxCHB::bchb [protected] |
The documentation for this class was generated from the following files:
- gecode/flatzinc/branch.hh
- gecode/flatzinc/branch.hpp