Generated on Thu Mar 22 10:40:02 2012 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)
 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 143 of file unary.cpp.


Constructor & Destructor Documentation

Test::Int::Unary::ManFlexUnary::ManFlexUnary ( int  n,
int  minP,
int  maxP,
int  o 
) [inline]

Create and register test.

Definition at line 153 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 162 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 167 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 176 of file unary.cpp.


Member Data Documentation

Minimum processing time.

Definition at line 146 of file unary.cpp.

Maximum processing time.

Definition at line 148 of file unary.cpp.

Offset for start times.

Definition at line 150 of file unary.cpp.


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