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

Test::Set::Distinct::AtmostOne Class Reference
[Distinctness constraints]

Test for the atmostone propagator More...

List of all members.

Public Member Functions

 AtmostOne (const char *t)
 Create and register test.
virtual bool solution (const SetAssignment &x) const
 Test whether x is solution
virtual void post (Space &home, SetVarArray &x, IntVarArray &)
 Post constraint on x.

Detailed Description

Test for the atmostone propagator

Definition at line 53 of file distinct.cpp.


Constructor & Destructor Documentation

Test::Set::Distinct::AtmostOne::AtmostOne ( const char *  t  )  [inline]

Create and register test.

Definition at line 56 of file distinct.cpp.


Member Function Documentation

virtual bool Test::Set::Distinct::AtmostOne::solution ( const SetAssignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Set::SetTest.

Definition at line 59 of file distinct.cpp.

virtual void Test::Set::Distinct::AtmostOne::post ( Space home,
SetVarArray x,
IntVarArray  
) [inline, virtual]

Post constraint on x.

Implements Test::Set::SetTest.

Definition at line 96 of file distinct.cpp.


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