Generated on Wed Feb 7 10:29:47 2018 for Gecode by doxygen 1.6.3

Test::Int::Circuit::Circuit Class Reference
[Circuit constraints]

Simple test for circuit constraint. More...

List of all members.

Public Member Functions

 Circuit (int n, int min, int max, int off, Gecode::IntPropLevel ipl)
 Create 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 circuit constraint on x.

Detailed Description

Simple test for circuit constraint.

Definition at line 52 of file circuit.cpp.

Constructor & Destructor Documentation

Test::Int::Circuit::Circuit::Circuit ( int  n,
int  min,
int  max,
int  off,
Gecode::IntPropLevel  ipl 
) [inline]

Create and register test.

Definition at line 58 of file circuit.cpp.

Member Function Documentation

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

Check whether x is solution.

Implements Test::Int::Test.

Definition at line 65 of file circuit.cpp.

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

Post circuit constraint on x.

Implements Test::Int::Test.

Definition at line 82 of file circuit.cpp.

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