Generated on Mon Aug 25 11:35:54 2008 for Gecode by doxygen 1.5.6

Test::Int::Bool::NaryShared Class Reference
[Boolean constraints]

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test for Nary Boolean operation.

Definition at line 246 of file bool.cc.


Public Member Functions

 NaryShared (Gecode::BoolOpType op0, int n)
 Construct 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 constraint.

Protected Attributes

Gecode::BoolOpType op
 Boolean operation type for test.

Constructor & Destructor Documentation

Test::Int::Bool::NaryShared::NaryShared ( Gecode::BoolOpType  op0,
int  n 
) [inline]

Construct and register test.

Definition at line 252 of file bool.cc.


Member Function Documentation

virtual bool Test::Int::Bool::NaryShared::solution ( const Assignment x  )  const [inline, virtual]

Check whether x is solution.

Implements Test::Int::Test.

Definition at line 256 of file bool.cc.

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

Post constraint.

Implements Test::Int::Test.

Definition at line 263 of file bool.cc.


Member Data Documentation

Boolean operation type for test.

Definition at line 249 of file bool.cc.


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