int-noview.hpp
Go to the documentation of this file.
178 const ViewArray<Int::Linear::NoView>& operator =(const ViewArray<Int::Linear::NoView>&) { return *this; }
No view serves as filler for empty view arrays.
Definition int-noview.hpp:42
unsigned int regret_min(void) const
Return regret of domain minimum (distance to next larger value).
Definition int-noview.hpp:66
int med(void) const
Return median of domain (greatest element not greater than the median).
Definition int-noview.hpp:57
ModEvent le(Space &home, long long int n)
Restrict domain values to be less than n.
Definition int-noview.hpp:102
ModEvent lq(Space &home, long long int n)
Restrict domain values to be less or equal than n.
Definition int-noview.hpp:92
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
Definition int-noview.hpp:87
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
Definition int-noview.hpp:137
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Definition int-noview.hpp:107
ModEvent eq(Space &home, long long int n)
Restrict domain values to be equal to n.
Definition int-noview.hpp:142
ModEvent gr(Space &home, int n)
Restrict domain values to be greater than n.
Definition int-noview.hpp:117
unsigned int width(void) const
Return width of domain (distance between maximum and minimum).
Definition int-noview.hpp:64
ModEvent gq(Space &home, long long int n)
Restrict domain values to be greater or equal than n.
Definition int-noview.hpp:112
ModEvent nq(Space &home, long long int n)
Restrict domain values to be different from n.
Definition int-noview.hpp:132
ModEvent gr(Space &home, long long int n)
Restrict domain values to be greater than n.
Definition int-noview.hpp:122
unsigned int regret_max(void) const
Return regret of domain maximum (distance to next smaller value).
Definition int-noview.hpp:68
ModEvent nq(Space &home, int n)
Restrict domain values to be different from n.
Definition int-noview.hpp:127
ModEvent le(Space &home, int n)
Restrict domain values to be less than n.
Definition int-noview.hpp:97
std::basic_ostream< Char, Traits > & operator<<(std::basic_ostream< Char, Traits > &os, const NoView &)
Print integer variable view.
Definition int-noview.hpp:155
void subscribe(Space &, Propagator &p, PropCond pc, bool process=true)
Subscribe propagator p with propagation condition pc to all views.
Definition int-noview.hpp:208
void move_fst(int i)
Move assigned view from position 0 to position i (shift elements to the left).
Definition int-noview.hpp:232
void update(Space &home, ViewArray< Int::Linear::NoView > &a)
Update array to be a clone of array a.
Definition int-noview.hpp:224
ViewArray(Space &, const ViewArray< Int::Linear::NoView > &)
Initialize.
Definition int-noview.hpp:176
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to all views.
Definition int-noview.hpp:212
void move_lst(int i)
Move assigned view from position size()-1 to position i (truncate array by one).
Definition int-noview.hpp:234
void reschedule(Space &home, Propagator &p, PropCond pc)
Schedule propagator p.
Definition int-noview.hpp:216
const ViewArray< View > & operator=(const ViewArray< View > &a)
Initialize from view array a (share elements).
Definition array.hpp:1158
Linear propagators
const Gecode::ModEvent ME_INT_NONE
Domain operation has not changed domain.
Definition var-type.hpp:62
Gecode toplevel namespace
