Class for trying the first range of a domain first or splitting domain at mean of smallest and largest element (lower half first) More...
#include <branch.hh>
Public Member Functions | |
ValRangeMin (void) | |
Default constructor. | |
ValRangeMin (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 trying the first range of a domain first or splitting domain at mean of smallest and largest element (lower half first)
Requires
#include <gecode/int/branch.hh>
Gecode::Int::Branch::ValRangeMin< View >::ValRangeMin | ( | void | ) | [inline] |
Default constructor.
Definition at line 144 of file select-val.hpp.
Gecode::Int::Branch::ValRangeMin< View >::ValRangeMin | ( | Space & | home, |
const ValBranchOptions & | vbo | ||
) | [inline] |
Constructor for initialization.
Definition at line 147 of file select-val.hpp.
int Gecode::Int::Branch::ValRangeMin< View >::val | ( | Space & | home, |
View | x | ||
) | const [inline] |
Return minimum value of view x.
Definition at line 152 of file select-val.hpp.
ModEvent Gecode::Int::Branch::ValRangeMin< View >::tell | ( | Space & | home, |
unsigned int | a, | ||
View | x, | ||
int | n | ||
) | [inline] |
Tell (a = 0) or
(a = 1)
Definition at line 162 of file select-val.hpp.