Generated on Wed Jul 27 2011 15:09:21 for Gecode by doxygen 1.7.4
Test::Int::Cumulatives::Ass Class Reference

Script for generating assignments. More...

List of all members.

Public Member Functions

 Ass (int n, const Gecode::IntSet &d)
 Initialize model for assignments.
 Ass (bool share, Ass &s)
 Constructor for cloning s.
virtual Gecode::Spacecopy (bool share)
 Create copy during cloning.

Public Attributes

Gecode::IntVarArray x
 Store task information.

Detailed Description

Script for generating assignments.

We are only interested in assignments that represent tasks (s_i, d_i, e_i, h_i) such that the following hold:

  • The task starts at a positive time and has some extension.
  • The equation s_i + d_i = e_i holds.
  • The tasks are ordered to remove some symmetries, i.e., s_i <= s_{i+1}

Definition at line 69 of file cumulatives.cpp.


Constructor & Destructor Documentation

Test::Int::Cumulatives::Ass::Ass ( int  n,
const Gecode::IntSet d 
) [inline]

Initialize model for assignments.

Definition at line 74 of file cumulatives.cpp.

Test::Int::Cumulatives::Ass::Ass ( bool  share,
Ass s 
) [inline]

Constructor for cloning s.

Definition at line 85 of file cumulatives.cpp.


Member Function Documentation

virtual Gecode::Space* Test::Int::Cumulatives::Ass::copy ( bool  share) [inline, virtual]

Create copy during cloning.

Implements Gecode::Space.

Definition at line 89 of file cumulatives.cpp.


Member Data Documentation

Store task information.

Definition at line 72 of file cumulatives.cpp.


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