Test::Int::Unary::ManFixPUnary Class Reference
[Unary scheduling constraints]
Test for unary constraint More...
Public Member Functions | |
ManFixPUnary (const Gecode::IntArgs &p0, 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. | |
Static Protected Member Functions | |
static int | st (const Gecode::IntArgs &p) |
Get a reasonable maximal start time. | |
Protected Attributes | |
Gecode::IntArgs | p |
The processing times. |
Detailed Description
Test for unary constraint
Definition at line 51 of file unary.cpp.
Constructor & Destructor Documentation
Test::Int::Unary::ManFixPUnary::ManFixPUnary | ( | const Gecode::IntArgs & | p0, | |
int | o, | |||
Gecode::IntPropLevel | ipl0 | |||
) | [inline] |
Member Function Documentation
static int Test::Int::Unary::ManFixPUnary::st | ( | const Gecode::IntArgs & | p | ) | [inline, static, protected] |
virtual Assignment* Test::Int::Unary::ManFixPUnary::assignment | ( | void | ) | const [inline, virtual] |
Create and register initial assignment.
Reimplemented from Test::Int::Test.
virtual bool Test::Int::Unary::ManFixPUnary::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Unary::ManFixPUnary::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
Gecode::IntArgs Test::Int::Unary::ManFixPUnary::p [protected] |
The documentation for this class was generated from the following file:
- test/int/unary.cpp