Test::Int::Unary::ManFlexUnary Class Reference
[Unary scheduling constraints]
Test for unary constraint More...
Public Member Functions | |
| ManFlexUnary (int n, int minP, int maxP, int o, Gecode::IntPropLevel ipl0) | |
| Create and register test. | |
| virtual Assignment * | assignment (void) const |
| Create and register initial assignment. | |
| 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 | _minP |
| Minimum processing time. | |
| int | _maxP |
| Maximum processing time. | |
| int | off |
| Offset for start times. | |
Detailed Description
Test for unary constraint
Definition at line 140 of file unary.cpp.
Constructor & Destructor Documentation
| Test::Int::Unary::ManFlexUnary::ManFlexUnary | ( | int | n, | |
| int | minP, | |||
| int | maxP, | |||
| int | o, | |||
| Gecode::IntPropLevel | ipl0 | |||
| ) | [inline] |
Member Function Documentation
| virtual Assignment* Test::Int::Unary::ManFlexUnary::assignment | ( | void | ) | const [inline, virtual] |
Create and register initial assignment.
Reimplemented from Test::Int::Test.
| virtual bool Test::Int::Unary::ManFlexUnary::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Unary::ManFlexUnary::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | x | |||
| ) | [inline, virtual] |
Member Data Documentation
int Test::Int::Unary::ManFlexUnary::_minP [protected] |
int Test::Int::Unary::ManFlexUnary::_maxP [protected] |
int Test::Int::Unary::ManFlexUnary::off [protected] |
The documentation for this class was generated from the following file:
- test/int/unary.cpp
