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

Test::Int::Exec::When Class Reference
[Synchronized execution]

Simple test for when. More...

List of all members.

Public Member Functions

 When (void)
 Create and register test.
virtual bool solution (const Assignment &x) const
 Check whether x is solution.
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x)
 Post when on x.

Static Public Member Functions

static void t (Gecode::Space &home)
 Then-function to be executed.
static void e (Gecode::Space &home)
 Else-function to be executed.

Detailed Description

Simple test for when.

Definition at line 118 of file exec.cpp.


Constructor & Destructor Documentation

Test::Int::Exec::When::When ( void   )  [inline]

Create and register test.

Definition at line 121 of file exec.cpp.


Member Function Documentation

virtual bool Test::Int::Exec::When::solution ( const Assignment x  )  const [inline, virtual]

Check whether x is solution.

Implements Test::Int::Test.

Definition at line 123 of file exec.cpp.

virtual void Test::Int::Exec::When::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post when on x.

Implements Test::Int::Test.

Definition at line 127 of file exec.cpp.

static void Test::Int::Exec::When::t ( Gecode::Space home  )  [inline, static]

Then-function to be executed.

Definition at line 131 of file exec.cpp.

static void Test::Int::Exec::When::e ( Gecode::Space home  )  [inline, static]

Else-function to be executed.

Definition at line 135 of file exec.cpp.


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