Generated on Fri Oct 19 11:26:34 2018 for Gecode by doxygen 1.6.3

Test::Int::MiniModelBoolean::BoolElement Class Reference
[Minimal modelling constraints (Boolean constraints)]

Test for Boolean element (regression) More...

List of all members.

Public Member Functions

 BoolElement (const std::string &s, int m)
 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.

Protected Attributes

int mode
 How to post.

Detailed Description

Test for Boolean element (regression)

Contributed by Matthias Balzer <matthias.balzer@itwm.fraunhofer.de>

Definition at line 4324 of file mm-bool.cpp.


Constructor & Destructor Documentation

Test::Int::MiniModelBoolean::BoolElement::BoolElement ( const std::string &  s,
int  m 
) [inline]

Create and register test.

Definition at line 4330 of file mm-bool.cpp.


Member Function Documentation

virtual bool Test::Int::MiniModelBoolean::BoolElement::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 4333 of file mm-bool.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 4337 of file mm-bool.cpp.


Member Data Documentation

How to post.

Definition at line 4327 of file mm-bool.cpp.


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