Generated on Fri Oct 19 11:26:36 2018 for Gecode by doxygen 1.6.3

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

Test for unary constraint with optional tasks More...

List of all members.

Public Member Functions

 OptFixPUnary (const Gecode::IntArgs &p0, 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.

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.
int l
 Threshold for taking a task as optional.

Detailed Description

Test for unary constraint with optional tasks

Definition at line 90 of file unary.cpp.


Constructor & Destructor Documentation

Test::Int::Unary::OptFixPUnary::OptFixPUnary ( const Gecode::IntArgs p0,
int  o,
Gecode::IntPropLevel  ipl0 
) [inline]

Create and register test.

Definition at line 105 of file unary.cpp.


Member Function Documentation

static int Test::Int::Unary::OptFixPUnary::st ( const Gecode::IntArgs p  )  [inline, static, protected]

Get a reasonable maximal start time.

Definition at line 97 of file unary.cpp.

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

Create and register initial assignment.

Reimplemented from Test::Int::Test.

Definition at line 112 of file unary.cpp.

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

Test whether x is solution

Implements Test::Int::Test.

Definition at line 116 of file unary.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 127 of file unary.cpp.


Member Data Documentation

The processing times.

Definition at line 93 of file unary.cpp.

Threshold for taking a task as optional.

Definition at line 95 of file unary.cpp.


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