Go to the documentation of this file.
42 namespace Gecode {
namespace Float {
147 template<
class Char,
class Traits>
148 std::basic_ostream<Char,Traits>&
247 template<
class Char,
class Traits>
248 std::basic_ostream<Char,Traits>&
360 template<
class Char,
class Traits>
361 std::basic_ostream<Char,Traits>&
473 template<
class Char,
class Traits>
474 std::basic_ostream<Char,Traits>&
487 namespace Gecode {
namespace Float {
Post propagator for SetVar x
Post propagator for SetVar SetOpType SetVar y
bool in(FloatNum n) const
Test whether n is contained in domain.
FloatNum max(void) const
Return maximum of domain.
FloatVal val(void) const
Return assigned value.
bool in(FloatNum n) const
Test whether n is contained in domain.
FloatView(void)
Default constructor.
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
ScaleView(void)
Default constructor.
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
@ RT_MAYBE
Relation may hold or not.
FloatNum min(void) const
Return minimum of domain.
@ RT_FALSE
Relation does not hold.
FloatNum min(void) const
Return minimum of domain.
FloatVal val(void) const
Return assigned value.
bool zero_in(void) const
Test whether 0 is contained in domain.
FloatVal val(void) const
Return assigned value.
FloatNum med(void) const
Return median of domain (closest representation)
FloatNum size(void) const
Return size of domain (distance between maximum and minimum)
FloatVal domain(void) const
Return domain.
void update(Space &home, bool share, OffsetView &y)
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
Base-class for derived views.
Gecode toplevel namespace
static ModEvent me(const ModEventDelta &med)
Return modification event for view type in med.
void update(Space &home, bool share, ScaleView &y)
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
FloatNum min(void) const
Return minimum of domain.
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
OffsetView(void)
Default constructor.
Float view for float variables.
Float variable implementation.
Generic domain change information to be supplied to advisors.
FloatVal domain(void) const
Return domain.
FloatNum size(void) const
Return size of domain (distance between maximum and minimum)
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
struct Gecode::@579::NNF::@61::@62 b
For binary nodes (and, or, eqv)
static ModEvent me(const ModEventDelta &med)
Return modification event for view type in med.
FloatNum min(void) const
Return minimum of domain.
bool in(FloatNum n) const
Test whether n is contained in domain.
FloatNum max(void) const
Return maximum of domain.
FloatNum size(void) const
Return size of domain (distance between maximum and minimum)
double FloatNum
Floating point number base type.
@ RT_TRUE
Relation does hold.
FloatNum offset(void) const
Return offset.
RelTest
Result of testing relation.
FloatNum size(void) const
Return size of domain (distance between maximum and minimum)
FloatNum med(void) const
Return median of domain (closest representation)
RelTest rtest_eq(View x, View y)
Test whether views x and y are equal.
FloatVal domain(void) const
Return domain.
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
MinusView(void)
Default constructor.
FloatVal val(void) const
Return assigned value.
bool zero_in(void) const
Test whether 0 is contained in domain.
int ModEvent
Type for modification events.
std::basic_ostream< Char, Traits > & operator<<(std::basic_ostream< Char, Traits > &os, const FloatView &x)
FloatNum max(void) const
Return maximum of domain.
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
bool zero_in(void) const
Test whether 0 is contained in domain.
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
FloatNum max(void) const
Return maximum of domain.
FloatNum med(void) const
Return median of domain (closest representation)
bool in(FloatNum n) const
Test whether n is contained in domain.
ModEvent lq(Space &home, int n)
Restrict domain values to be less or equal than n.
RelTest
Result of testing relation.
FloatNum med(void) const
Return median of domain (closest representation)
ModEvent eq(Space &home, int n)
Restrict domain values to be equal to n.
FloatVal domain(void) const
Return domain.
bool zero_in(void) const
Test whether 0 is contained in domain.
int n
Number of negative literals for node type.
int ModEventDelta
Modification event deltas.
FloatVal scale(void) const
Return scale factor of scale view.
RelTest rtest_lq(View x, View y)
Test whether view x is less or equal than view y.
Base-class for variable implementation views.
ModEvent gq(Space &home, int n)
Restrict domain values to be greater or equal than n.
RelTest rtest_le(View x, View y)
Test whether view x is less than view y.