|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Project with profit and dependencies. More...
#include <net_apps.H>
Public Member Functions | |
| Project (size_t id_, Value_Type profit_, const std::vector< size_t > &prereqs={}, const std::string &name_="") | |
Public Attributes | |
| size_t | id |
| Unique project ID. | |
| Value_Type | profit |
| Profit (positive) or cost (negative) | |
| std::vector< size_t > | prerequisites |
| IDs of prerequisite projects. | |
| std::string | name |
| Optional name. | |
Project with profit and dependencies.
Definition at line 397 of file net_apps.H.
|
inline |
Definition at line 404 of file net_apps.H.
| size_t Aleph::Project< Value_Type >::id |
Unique project ID.
Definition at line 399 of file net_apps.H.
| std::string Aleph::Project< Value_Type >::name |
Optional name.
Definition at line 402 of file net_apps.H.
| std::vector<size_t> Aleph::Project< Value_Type >::prerequisites |
IDs of prerequisite projects.
Definition at line 401 of file net_apps.H.
| Value_Type Aleph::Project< Value_Type >::profit |
Profit (positive) or cost (negative)
Definition at line 400 of file net_apps.H.