Gecode::FlatZinc::MeritMaxAction Class Reference
Select by maximal Action. More...
#include <branch.hh>
Public Member Functions | |
MeritMaxAction (Space &home, const IntBoolVarBranch &ibvb) | |
Constructor for initialization. | |
MeritMaxAction (Space &home, MeritMaxAction &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 | |
IntAction | iaction |
Integer Action information. | |
BoolAction | baction |
Boolean Action information. |
Detailed Description
Select by maximal Action.
Definition at line 166 of file branch.hh.
Constructor & Destructor Documentation
Gecode::FlatZinc::MeritMaxAction::MeritMaxAction | ( | Space & | home, | |
const IntBoolVarBranch & | ibvb | |||
) | [inline] |
Constructor for initialization.
Definition at line 207 of file branch.hpp.
Gecode::FlatZinc::MeritMaxAction::MeritMaxAction | ( | Space & | home, | |
MeritMaxAction & | m | |||
) | [inline] |
Constructor for cloning.
Definition at line 210 of file branch.hpp.
Member Function Documentation
double Gecode::FlatZinc::MeritMaxAction::operator() | ( | Int::IntView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 213 of file branch.hpp.
double Gecode::FlatZinc::MeritMaxAction::operator() | ( | Int::BoolView | x, | |
int | i | |||
) | const [inline] |
Return merit.
Definition at line 217 of file branch.hpp.
void Gecode::FlatZinc::MeritMaxAction::dispose | ( | void | ) | [inline] |
Dispose.
Definition at line 221 of file branch.hpp.
Member Data Documentation
IntAction Gecode::FlatZinc::MeritMaxAction::iaction [protected] |
BoolAction Gecode::FlatZinc::MeritMaxAction::baction [protected] |
The documentation for this class was generated from the following files:
- gecode/flatzinc/branch.hh
- gecode/flatzinc/branch.hpp