Test::Int::Unshare::Int Class Reference
[Unsharing variables in arrays]
Inherits Test::Int::Test.
Detailed Description
Test for unsharing integer variables.Definition at line 53 of file unshare.cc.
Public Member Functions | |
Int (Gecode::IntConLevel icl) | |
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. |
Constructor & Destructor Documentation
Test::Int::Unshare::Int::Int | ( | Gecode::IntConLevel | icl | ) | [inline] |
Member Function Documentation
virtual bool Test::Int::Unshare::Int::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Unshare::Int::post | ( | Gecode::Space * | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/unshare.cc (Revision: 6273)