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

Test::Int::Extensional::TupleSetBool Class Reference
[Extensional (relation) constraints]

Test with bool tuple set More...

List of all members.

Public Member Functions

 TupleSetBool (double prob, bool p)
 Create and register test.
virtual bool solution (const Assignment &x) const
 Test whether x is solution
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x)
 Post constraint on x.
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::Reify r)
 Post reified constraint on x for r.

Protected Attributes

bool pos
 Whether the table is positive or negative.
Gecode::TupleSet t
 Tupleset used for testing.

Detailed Description

Test with bool tuple set

Definition at line 555 of file extensional.cpp.


Constructor & Destructor Documentation

Test::Int::Extensional::TupleSetBool::TupleSetBool ( double  prob,
bool  p 
) [inline]

Create and register test.

Definition at line 563 of file extensional.cpp.


Member Function Documentation

virtual bool Test::Int::Extensional::TupleSetBool::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 580 of file extensional.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 594 of file extensional.cpp.

virtual void Test::Int::Extensional::TupleSetBool::post ( Gecode::Space home,
Gecode::IntVarArray x,
Gecode::Reify  r 
) [inline, virtual]

Post reified constraint on x for r.

Reimplemented from Test::Int::Test.

Definition at line 602 of file extensional.cpp.


Member Data Documentation

Whether the table is positive or negative.

Definition at line 558 of file extensional.cpp.

Tupleset used for testing.

Definition at line 560 of file extensional.cpp.


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