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

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

Test for simple relation involving float variables More...

List of all members.

Public Member Functions

 FloatVarXY (Gecode::FloatRelType frt0, int n, 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.

Detailed Description

Test for simple relation involving float variables

Definition at line 51 of file rel.cpp.


Constructor & Destructor Documentation

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

Create and register test.

Definition at line 57 of file rel.cpp.


Member Function Documentation

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

Test whether x is solution

Implements Test::Float::Test.

Definition at line 64 of file rel.cpp.

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

Post constraint on x.

Implements Test::Float::Test.

Definition at line 76 of file rel.cpp.

virtual void Test::Float::Rel::FloatVarXY::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 87 of file rel.cpp.


Member Data Documentation

Float relation type to propagate.

Definition at line 54 of file rel.cpp.


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