Test::Int::Basic::Basic Class Reference
[Basic setup]
Test whether testing infrastructure for integer variables works More...
Public Member Functions | |
Basic (int n) | |
Initialize test. | |
Basic (Gecode::IntArgs &i) | |
Initialize test. | |
virtual bool | solution (const Assignment &) const |
Check whether x is a solution. | |
virtual void | post (Gecode::Space &, Gecode::IntVarArray &) |
Post constraint on x. | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &, Gecode::BoolVar b) |
Post reified constraint on x. |
Detailed Description
Test whether testing infrastructure for integer variables works
Definition at line 52 of file basic.cpp.
Constructor & Destructor Documentation
Test::Int::Basic::Basic::Basic | ( | int | n | ) | [inline] |
Test::Int::Basic::Basic::Basic | ( | Gecode::IntArgs & | i | ) | [inline] |
Member Function Documentation
virtual bool Test::Int::Basic::Basic::solution | ( | const Assignment & | ) | const [inline, virtual] |
virtual void Test::Int::Basic::Basic::post | ( | Gecode::Space & | , | |
Gecode::IntVarArray & | ||||
) | [inline, virtual] |
virtual void Test::Int::Basic::Basic::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | , | |||
Gecode::BoolVar | b | |||
) | [inline, virtual] |
Post reified constraint on x.
Reimplemented from Test::Int::Test.
The documentation for this class was generated from the following file:
- test/int/basic.cpp (Revision: 10684)