Test::Int::Circuit::Circuit Class Reference
[Circuit constraints]
Inherits Test::Int::Test.
Detailed Description
Simple test for circuit constraint.Definition at line 51 of file circuit.cc.
Public Member Functions | |
Circuit (int n, int min, int max, Gecode::IntConLevel icl) | |
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. |
Constructor & Destructor Documentation
Test::Int::Circuit::Circuit::Circuit | ( | int | n, | |
int | min, | |||
int | max, | |||
Gecode::IntConLevel | icl | |||
) | [inline] |
Member Function Documentation
virtual bool Test::Int::Circuit::Circuit::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Circuit::Circuit::post | ( | Gecode::Space * | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/circuit.cc (Revision: 5022)