|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
An item for knapsack problems. More...
#include <Knapsack.H>
Public Attributes | |
| W | weight |
| Weight (or cost) of the item. | |
| V | value |
| Value (or profit) of the item. | |
An item for knapsack problems.
Definition at line 65 of file Knapsack.H.
Value (or profit) of the item.
Definition at line 68 of file Knapsack.H.
Referenced by Aleph::knapsack_bounded().
| W Aleph::Knapsack_Item< W, V >::weight |
Weight (or cost) of the item.
Definition at line 67 of file Knapsack.H.