Generated on Thu Apr 11 14:00:18 2019 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 (bool sf0)
 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.

Protected Attributes

bool sf
 Whether to use std::function.

Detailed Description

Simple test for when.

Definition at line 142 of file exec.cpp.


Constructor & Destructor Documentation

Test::Int::Exec::When::When ( bool  sf0  )  [inline]

Create and register test.

Definition at line 148 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 152 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 156 of file exec.cpp.

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

Then-function to be executed.

Definition at line 169 of file exec.cpp.

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

Else-function to be executed.

Definition at line 173 of file exec.cpp.


Member Data Documentation

bool Test::Int::Exec::When::sf [protected]

Whether to use std::function.

Definition at line 145 of file exec.cpp.


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