Generated on Thu Mar 22 10:40:03 2012 for Gecode by doxygen 1.6.3

Test::Set::Precede::Single Class Reference

Test for single value precedence constraint More...

List of all members.

Public Member Functions

 Single (int s0, int t0)
 Create and register test.
virtual bool solution (const SetAssignment &x) const
 Test whether x is solution
virtual void post (Gecode::Space &home, Gecode::SetVarArray &x, Gecode::IntVarArray &)
 Post constraint on x.

Detailed Description

Test for single value precedence constraint

Definition at line 56 of file precede.cpp.


Constructor & Destructor Documentation

Test::Set::Precede::Single::Single ( int  s0,
int  t0 
) [inline]

Create and register test.

Definition at line 70 of file precede.cpp.


Member Function Documentation

virtual bool Test::Set::Precede::Single::solution ( const SetAssignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Set::SetTest.

Definition at line 74 of file precede.cpp.

virtual void Test::Set::Precede::Single::post ( Gecode::Space home,
Gecode::SetVarArray x,
Gecode::IntVarArray  
) [inline, virtual]

Post constraint on x.

Implements Test::Set::SetTest.

Definition at line 85 of file precede.cpp.


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