Generated on Thu Apr 11 14:00:16 2019 for Gecode by doxygen 1.6.3

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

Test for Clause Boolean operation with constant More...

List of all members.

Public Member Functions

 ClauseConst (Gecode::BoolOpType op0, int n, int c0)
 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.
int c
 Integer constant.

Detailed Description

Test for Clause Boolean operation with constant

Definition at line 403 of file bool.cpp.

Constructor & Destructor Documentation

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

Construct and register test.

Definition at line 411 of file bool.cpp.

Member Function Documentation

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

Check whether x is solution.

Implements Test::Int::Test.

Definition at line 415 of file bool.cpp.

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

Post constraint.

Implements Test::Int::Test.

Definition at line 428 of file bool.cpp.

Member Data Documentation

Boolean operation type for test.

Definition at line 406 of file bool.cpp.

Integer constant.

Definition at line 408 of file bool.cpp.

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