
Class for selecting minimum value. More...
#include <branch.hh>
Public Member Functions | |
| ValMin (void) | |
| Default constructor. | |
| ValMin (Space &home, const ValBranchOptions &vbo) | |
| Constructor for initialization. | |
| int | val (Space &home, SetView x) const |
| Return minimum value of view x. | |
| ModEvent | tell (Space &home, unsigned int a, SetView x, int v) |
Tell (a = 0) or (a = 1) | |
Class for selecting minimum value.
All value selection classes require
#include <gecode/set/branch.hh>
| Gecode::Set::Branch::ValMin< inc >::ValMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 48 of file select-val.hpp.
| Gecode::Set::Branch::ValMin< inc >::ValMin | ( | Space & | home, |
| const ValBranchOptions & | vbo | ||
| ) | [inline] |
Constructor for initialization.
Definition at line 51 of file select-val.hpp.
| int Gecode::Set::Branch::ValMin< inc >::val | ( | Space & | home, |
| SetView | x | ||
| ) | const [inline] |
Return minimum value of view x.
Definition at line 55 of file select-val.hpp.
| ModEvent Gecode::Set::Branch::ValMin< inc >::tell | ( | Space & | home, |
| unsigned int | a, | ||
| SetView | x, | ||
| int | v | ||
| ) | [inline] |
Tell
(a = 0) or
(a = 1)
Definition at line 61 of file select-val.hpp.