Generated on Tue May 22 09:42:01 2018 for Gecode by doxygen 1.6.3

Test::Int::Unary::ManFlexUnary Class Reference
[Unary scheduling constraints]

Test for unary constraint More...

List of all members.

Public Member Functions

 ManFlexUnary (int n, int minP, int maxP, int o, Gecode::IntPropLevel ipl0)
 Create and register test.
virtual Assignmentassignment (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]

Create and register test.

Definition at line 150 of file unary.cpp.


Member Function Documentation

virtual Assignment* Test::Int::Unary::ManFlexUnary::assignment ( void   )  const [inline, virtual]

Create and register initial assignment.

Reimplemented from Test::Int::Test.

Definition at line 159 of file unary.cpp.

virtual bool Test::Int::Unary::ManFlexUnary::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 164 of file unary.cpp.

virtual void Test::Int::Unary::ManFlexUnary::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Int::Test.

Definition at line 173 of file unary.cpp.


Member Data Documentation

Minimum processing time.

Definition at line 143 of file unary.cpp.

Maximum processing time.

Definition at line 145 of file unary.cpp.

Offset for start times.

Definition at line 147 of file unary.cpp.


The documentation for this class was generated from the following file: