Simple test for circuit constraint with full cost information. More...
Public Member Functions | |
CircuitFullCost (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. |
Simple test for circuit constraint with full cost information.
Definition at line 129 of file circuit.cpp.
Test::Int::Circuit::CircuitFullCost::CircuitFullCost | ( | int | n, |
int | min, | ||
int | max, | ||
Gecode::IntConLevel | icl | ||
) | [inline] |
Create and register test.
Definition at line 132 of file circuit.cpp.
virtual bool Test::Int::Circuit::CircuitFullCost::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Int::Test.
Definition at line 138 of file circuit.cpp.
virtual void Test::Int::Circuit::CircuitFullCost::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | x | ||
) | [inline, virtual] |
Post circuit constraint on x.
Implements Test::Int::Test.
Definition at line 162 of file circuit.cpp.