Generated on Fri Oct 19 11:26:28 2018 for Gecode by doxygen 1.6.3

Test::Float::Rel::FloatFloat Class Reference
[Relation constraints]

Test for simple relation involving float variable and float constant More...

List of all members.

Public Member Functions

 FloatFloat (Gecode::FloatRelType frt0, int n, Gecode::FloatNum c0, Gecode::FloatNum st)
 Create and register test.
virtual MaybeType solution (const Assignment &x) const
 Test whether x is solution
virtual void post (Gecode::Space &home, Gecode::FloatVarArray &x)
 Post constraint on x.
virtual void post (Gecode::Space &home, Gecode::FloatVarArray &x, Gecode::Reify r)
 Post reified constraint on x for r.

Protected Attributes

Gecode::FloatRelType frt
 Float relation type to propagate.
Gecode::FloatVal c
 Float constant.

Detailed Description

Test for simple relation involving float variable and float constant

Definition at line 123 of file rel.cpp.


Constructor & Destructor Documentation

Test::Float::Rel::FloatFloat::FloatFloat ( Gecode::FloatRelType  frt0,
int  n,
Gecode::FloatNum  c0,
Gecode::FloatNum  st 
) [inline]

Create and register test.

Definition at line 131 of file rel.cpp.


Member Function Documentation

virtual MaybeType Test::Float::Rel::FloatFloat::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Float::Test.

Definition at line 139 of file rel.cpp.

virtual void Test::Float::Rel::FloatFloat::post ( Gecode::Space home,
Gecode::FloatVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Float::Test.

Definition at line 147 of file rel.cpp.

virtual void Test::Float::Rel::FloatFloat::post ( Gecode::Space home,
Gecode::FloatVarArray x,
Gecode::Reify  r 
) [inline, virtual]

Post reified constraint on x for r.

Reimplemented from Test::Float::Test.

Definition at line 155 of file rel.cpp.


Member Data Documentation

Float relation type to propagate.

Definition at line 126 of file rel.cpp.

Float constant.

Definition at line 128 of file rel.cpp.


The documentation for this class was generated from the following file: