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, View x) const |
Return minimum value of view x. | |
ModEvent | tell (Space &home, unsigned int a, View x, int n) |
Tell ![]() ![]() |
Class for selecting minimum value.
All value selection classes require
#include <gecode/int/branch.hh>
Gecode::Int::Branch::ValMin< View >::ValMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 42 of file select-val.hpp.
Gecode::Int::Branch::ValMin< View >::ValMin | ( | Space & | home, |
const ValBranchOptions & | vbo | ||
) | [inline] |
Constructor for initialization.
Definition at line 45 of file select-val.hpp.
int Gecode::Int::Branch::ValMin< View >::val | ( | Space & | home, |
View | x | ||
) | const [inline] |
Return minimum value of view x.
Definition at line 49 of file select-val.hpp.
ModEvent Gecode::Int::Branch::ValMin< View >::tell | ( | Space & | home, |
unsigned int | a, | ||
View | x, | ||
int | n | ||
) | [inline] |
Tell (a = 0) or
(a = 1)
Definition at line 54 of file select-val.hpp.