Gecode::Float::Branch::MeritActionSize Class Reference
[Merit-based float view selection for branchers]
Merit class for action over size. More...
#include <branch.hh>
Public Member Functions | |
MeritActionSize (Space &home, const VarBranch< Var > &vb) | |
Constructor for initialization. | |
MeritActionSize (Space &home, MeritActionSize &m) | |
Constructor for cloning. | |
double | operator() (const Space &home, FloatView x, int i) |
Return action over size 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 | |
Action | action |
Action information. |
Detailed Description
Merit class for action over size.
Requires
#include <gecode/float/branch.hh>
Definition at line 153 of file branch.hh.
Constructor & Destructor Documentation
Gecode::Float::Branch::MeritActionSize::MeritActionSize | ( | Space & | home, | |
MeritActionSize & | m | |||
) | [inline] |
Member Function Documentation
bool Gecode::Float::Branch::MeritActionSize::notice | ( | void | ) | const [inline] |
Whether dispose must always be called (that is, notice is needed).
Reimplemented from Gecode::MeritBase< FloatView, double >.
void Gecode::Float::Branch::MeritActionSize::dispose | ( | Space & | home | ) | [inline] |
Dispose view selection.
Reimplemented from Gecode::MeritBase< FloatView, double >.
Member Data Documentation
Action Gecode::Float::Branch::MeritActionSize::action [protected] |
The documentation for this class was generated from the following files: