34namespace Gecode {
namespace Iter {
namespace Values {
42 template<
class I,
bool strict=false>
74 template<
class I,
bool strict>
78 template<
class I,
bool strict>
84 template<
class I,
bool strict>
88 template<
class I,
bool strict>
93 template<
class I,
bool strict>
97 return i() && (i.val() < 0);
99 return i() && (i.val() <= 0);
103 template<
class I,
bool strict>
Value iterator for selecting only negative values.
bool operator()(void) const
Test whether iterator is still at a value or done.
void operator++(void)
Move iterator to next value (if possible)
int val(void) const
Return current value.
void init(I &i)
Initialize with values from i.
Negative(void)
Default constructor.
Gecode toplevel namespace