Test::Int::Order::Int Class Reference
[Order constraint]
Test order for integer variables More...
List of all members.
Public Member Functions | |
| Int (int _p0, int _p1) | |
| 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. | |
Protected Attributes | |
| int | p0 |
| Processing times. | |
| int | p1 |
Detailed Description
Test order for integer variables
Definition at line 48 of file order.cpp.
Constructor & Destructor Documentation
| Test::Int::Order::Int::Int | ( | int | _p0, | |
| int | _p1 | |||
| ) | [inline] |
Create and register test.
Definition at line 54 of file order.cpp.
Member Function Documentation
| virtual bool Test::Int::Order::Int::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Order::Int::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | x | |||
| ) | [inline, virtual] |
Member Data Documentation
int Test::Int::Order::Int::p0 [protected] |
Processing times.
Definition at line 51 of file order.cpp.
int Test::Int::Order::Int::p1 [protected] |
Definition at line 51 of file order.cpp.
The documentation for this class was generated from the following file:
- test/int/order.cpp
