Representation of task.
More...
#include <Task.h>
|
| Task (int _id, int _dur, int *_dep, int *_res, int _ndep, int _nres) |
|
int | res_size () const |
|
int | dep_size () const |
|
Representation of task.
Definition at line 7 of file Task.h.
SchedulingProblem::Task::Task |
( |
int |
_id, |
|
|
int |
_dur, |
|
|
int * |
_dep, |
|
|
int * |
_res, |
|
|
int |
_ndep, |
|
|
int |
_nres |
|
) |
| |
|
inline |
- Parameters
-
_id | ID of the task. |
_dur | Duration of the task. |
_ndep | Number of dependencies. |
_dep | List of dependencies. |
_nres | Number of capable resources. |
_res | List of capable resources. |
Definition at line 17 of file Task.h.
int SchedulingProblem::Task::dep_size |
( |
| ) |
const |
|
inline |
Returns number of dependencies, i.e. tasks that have to be completed before this task.
Definition at line 39 of file Task.h.
int SchedulingProblem::Task::res_size |
( |
| ) |
const |
|
inline |
Returns number of resources capable of completing the task.
Definition at line 35 of file Task.h.
int* SchedulingProblem::Task::dep |
List of dependencies, i.e. tasks that have to be completed before this task.
Definition at line 28 of file Task.h.
int SchedulingProblem::Task::duration |
int SchedulingProblem::Task::id |
Task ID, as specified in input file.
Definition at line 23 of file Task.h.
int* SchedulingProblem::Task::next |
List of inverse dependencies.
Definition at line 32 of file Task.h.
int SchedulingProblem::Task::next_size |
Number of inverse dependencies.
Definition at line 42 of file Task.h.
int* SchedulingProblem::Task::res |
List of resources capable of completing the task.
Definition at line 30 of file Task.h.
The documentation for this class was generated from the following files: