|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Result of project selection. More...
#include <net_apps.H>
Public Attributes | |
| Value_Type | max_profit {0} |
| Maximum achievable profit. | |
| std::vector< size_t > | selected |
| IDs of selected projects. | |
| Value_Type | total_revenue {0} |
| Sum of positive profits. | |
| Value_Type | total_cost {0} |
| Sum of negative profits (costs) | |
Result of project selection.
Definition at line 414 of file net_apps.H.
| Value_Type Aleph::ProjectSelectionResult< Value_Type >::max_profit {0} |
Maximum achievable profit.
Definition at line 416 of file net_apps.H.
Referenced by Aleph::solve_project_selection().
| std::vector<size_t> Aleph::ProjectSelectionResult< Value_Type >::selected |
IDs of selected projects.
Definition at line 417 of file net_apps.H.
Referenced by Aleph::solve_project_selection().
| Value_Type Aleph::ProjectSelectionResult< Value_Type >::total_cost {0} |
Sum of negative profits (costs)
Definition at line 419 of file net_apps.H.
Referenced by Aleph::solve_project_selection().
| Value_Type Aleph::ProjectSelectionResult< Value_Type >::total_revenue {0} |
Sum of positive profits.
Definition at line 418 of file net_apps.H.
Referenced by Aleph::solve_project_selection().