Generated on Tue May 22 09:41:50 2018 for Gecode by doxygen 1.6.3

Test::Float::Dom::Val Class Reference
[Domain constraints]

Test for domain constraints with a float value More...

List of all members.

Public Member Functions

 Val (int n, Gecode::FloatVal 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::FloatVal c
 Float constant.

Detailed Description

Test for domain constraints with a float value

Definition at line 51 of file dom.cpp.


Constructor & Destructor Documentation

Test::Float::Dom::Val::Val ( int  n,
Gecode::FloatVal  c0,
Gecode::FloatNum  st 
) [inline]

Create and register test.

Definition at line 57 of file dom.cpp.


Member Function Documentation

virtual MaybeType Test::Float::Dom::Val::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Float::Test.

Definition at line 63 of file dom.cpp.

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

Post constraint on x.

Implements Test::Float::Test.

Definition at line 70 of file dom.cpp.

virtual void Test::Float::Dom::Val::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 77 of file dom.cpp.


Member Data Documentation

Float constant.

Definition at line 54 of file dom.cpp.


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