|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Task with priority for job scheduling. More...
Public Member Functions | |
| Task () | |
| Task (const string &n, int p, int d) | |
| bool | operator< (const Task &other) const |
| bool | operator> (const Task &other) const |
Public Attributes | |
| string | name |
| int | priority |
| int | duration_ms |
Task with priority for job scheduling.
Definition at line 220 of file heap_example.C.
|
inline |
Definition at line 226 of file heap_example.C.
Definition at line 227 of file heap_example.C.
Definition at line 229 of file heap_example.C.
References Aleph::maps(), and priority.
Definition at line 230 of file heap_example.C.
References Aleph::maps(), and priority.
| int Task::duration_ms |
Definition at line 224 of file heap_example.C.
Referenced by operator<<().
| string Task::name |
Definition at line 222 of file heap_example.C.
Referenced by operator<<().
| int Task::priority |
Definition at line 223 of file heap_example.C.
Referenced by operator<(), operator<<(), and operator>().