Value selection class for values smaller than median of view. More...
#include <branch.hh>
Public Member Functions | |
ValSelLq (Space &home, const ValBranch &vb) | |
Constructor for initialization. | |
ValSelLq (Space &home, bool shared, ValSelLq &vs) | |
Constructor for cloning. | |
FloatNumBranch | val (const Space &home, FloatView x, int i) |
Return value of view x at position i. |
Value selection class for values smaller than median of view.
Requires
#include <gecode/float/branch.hh>
Gecode::Float::Branch::ValSelLq::ValSelLq | ( | Space & | home, |
const ValBranch & | vb | ||
) | [inline] |
Constructor for initialization.
Definition at line 57 of file val-sel.hpp.
Gecode::Float::Branch::ValSelLq::ValSelLq | ( | Space & | home, |
bool | shared, | ||
ValSelLq & | vs | ||
) | [inline] |
Constructor for cloning.
Definition at line 60 of file val-sel.hpp.
FloatNumBranch Gecode::Float::Branch::ValSelLq::val | ( | const Space & | home, |
FloatView | x, | ||
int | i | ||
) | [inline] |
Return value of view x at position i.
Definition at line 63 of file val-sel.hpp.