Script for generating assignments. More...
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::Space * | copy (bool share) |
Create copy during cloning. | |
Public Attributes | |
Gecode::IntVarArray | x |
Store task information. |
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:
Test::Int::Cumulatives::Ass::Ass | ( | int | n, |
const Gecode::IntSet & | d | ||
) | [inline] |
Initialize model for assignments.
Definition at line 73 of file cumulatives.cpp.
Test::Int::Cumulatives::Ass::Ass | ( | bool | share, |
Ass & | s | ||
) | [inline] |
Constructor for cloning s.
Definition at line 84 of file cumulatives.cpp.
virtual Gecode::Space* Test::Int::Cumulatives::Ass::copy | ( | bool | share | ) | [inline, virtual] |
Create copy during cloning.
Implements Gecode::Space.
Definition at line 88 of file cumulatives.cpp.
Store task information.
Definition at line 71 of file cumulatives.cpp.