Generated on Thu Mar 22 10:40:01 2012 for Gecode by doxygen 1.6.3

Test::Int::Cumulatives::Cumulatives Class Reference
[Cumnulatives scheduling constraint]

Test for cumulatives constraint More...

List of all members.

Public Member Functions

 Cumulatives (const std::string &s, int nt, bool am, int l)
 Create and register test.
virtual Assignmentassignment (void) const
 Create first 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 ntasks
 Number of tasks.
bool at_most
 Whether to use atmost reasoning.
int limit
 Limit.

Detailed Description

Test for cumulatives constraint

Definition at line 190 of file cumulatives.cpp.


Constructor & Destructor Documentation

Test::Int::Cumulatives::Cumulatives::Cumulatives ( const std::string &  s,
int  nt,
bool  am,
int  l 
) [inline]

Create and register test.

Definition at line 197 of file cumulatives.cpp.


Member Function Documentation

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

Create first assignment.

Reimplemented from Test::Int::Test.

Definition at line 202 of file cumulatives.cpp.

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

Test whether x is solution

Implements Test::Int::Test.

Definition at line 207 of file cumulatives.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 231 of file cumulatives.cpp.


Member Data Documentation

Number of tasks.

Definition at line 192 of file cumulatives.cpp.

Whether to use atmost reasoning.

Definition at line 193 of file cumulatives.cpp.

Limit.

Definition at line 194 of file cumulatives.cpp.


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