Gecode::FlatZinc::MeritMaxAFCSize Class Reference
Select by maximal AFC over size. More...
#include <branch.hh>
Public Member Functions | |
MeritMaxAFCSize (Space &home, const IntBoolVarBranch &ibvb) | |
Constructor for initialization. | |
MeritMaxAFCSize (Space &home, MeritMaxAFCSize &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 | |
IntAFC | iafc |
Integer AFC information. | |
BoolAFC | bafc |
Boolean AFC information. |
Detailed Description
Select by maximal AFC over size.
Definition at line 146 of file branch.hh.
Constructor & Destructor Documentation
Gecode::FlatZinc::MeritMaxAFCSize::MeritMaxAFCSize | ( | Space & | home, | |
const IntBoolVarBranch & | ibvb | |||
) | [inline] |
Constructor for initialization.
Definition at line 186 of file branch.hpp.
Gecode::FlatZinc::MeritMaxAFCSize::MeritMaxAFCSize | ( | Space & | home, | |
MeritMaxAFCSize & | m | |||
) | [inline] |
Constructor for cloning.
Definition at line 189 of file branch.hpp.
Member Function Documentation
double Gecode::FlatZinc::MeritMaxAFCSize::operator() | ( | Int::IntView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 192 of file branch.hpp.
double Gecode::FlatZinc::MeritMaxAFCSize::operator() | ( | Int::BoolView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 196 of file branch.hpp.
void Gecode::FlatZinc::MeritMaxAFCSize::dispose | ( | void | ) | [inline] |
Dispose.
Definition at line 200 of file branch.hpp.
Member Data Documentation
IntAFC Gecode::FlatZinc::MeritMaxAFCSize::iafc [protected] |
BoolAFC Gecode::FlatZinc::MeritMaxAFCSize::bafc [protected] |
The documentation for this class was generated from the following files:
- gecode/flatzinc/branch.hh
- gecode/flatzinc/branch.hpp