Cumulative (mandatory) task with fixed processing time.
More...
#include <cumulative.hh>
List of all members.
Protected Attributes |
| int | _c |
| | Required capacity.
|
Constructors and initialization |
| | ManFixPTask (void) |
| | Default constructor.
|
| | ManFixPTask (IntVar s, int p, int c) |
| | Initialize task with start time s, processing time p, and required resource c.
|
| void | init (IntVar s, int p, int c) |
| | Initialize task with start time s, processing time p, and required resource c.
|
| void | init (const ManFixPTask &t) |
| | Initialize from task t.
|
Value access |
| int | c (void) const |
| | Return required capacity.
|
| double | e (void) const |
| | Return required energy.
|
Cloning |
| void | update (Space &home, bool share, ManFixPTask &t) |
| | Update this task to be a clone of task t.
|
Detailed Description
Cumulative (mandatory) task with fixed processing time.
Definition at line 62 of file cumulative.hh.
Constructor & Destructor Documentation
| ManFixPTask::ManFixPTask |
( |
void |
| ) |
[inline] |
| ManFixPTask::ManFixPTask |
( |
IntVar |
s, |
|
|
int |
p, |
|
|
int |
c |
|
) |
| [inline] |
Initialize task with start time s, processing time p, and required resource c.
Definition at line 49 of file task.hpp.
Member Function Documentation
| void ManFixPTask::init |
( |
IntVar |
s, |
|
|
int |
p, |
|
|
int |
c |
|
) |
| [inline] |
Initialize task with start time s, processing time p, and required resource c.
Definition at line 52 of file task.hpp.
| void ManFixPTask::init |
( |
const ManFixPTask & |
t | ) |
[inline] |
Initialize from task t.
Definition at line 56 of file task.hpp.
| int ManFixPTask::c |
( |
void |
| ) |
const [inline] |
Return required capacity.
Definition at line 61 of file task.hpp.
| double ManFixPTask::e |
( |
void |
| ) |
const [inline] |
Return required energy.
Definition at line 65 of file task.hpp.
Update this task to be a clone of task t.
Definition at line 70 of file task.hpp.
Member Data Documentation
The documentation for this class was generated from the following files: