Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
Public Member Functions | |
MultiDimKnapsackData () | |
void | Load (const string &filename) |
int | items () const |
Number of items of the problem. | |
int | dims () const |
Number of dimensions of the problem. | |
const string & | name () const |
Name of the problem. | |
int | capacity (int i) const |
int | profit (int j) const |
int | weight (int i, int j) const |
int | optimal_value () const |
void | ProcessNewLine (char *const line) |
Used internally. |
Definition at line 46 of file multidim_knapsack.cc.
operations_research::MultiDimKnapsackData::MultiDimKnapsackData | ( | ) | [inline] |
Definition at line 48 of file multidim_knapsack.cc.
void operations_research::MultiDimKnapsackData::Load | ( | const string & | filename | ) | [inline] |
Definition at line 54 of file multidim_knapsack.cc.
int operations_research::MultiDimKnapsackData::items | ( | ) | const [inline] |
int operations_research::MultiDimKnapsackData::dims | ( | ) | const [inline] |
const string& operations_research::MultiDimKnapsackData::name | ( | ) | const [inline] |
int operations_research::MultiDimKnapsackData::capacity | ( | int | i | ) | const [inline] |
Definition at line 82 of file multidim_knapsack.cc.
int operations_research::MultiDimKnapsackData::profit | ( | int | j | ) | const [inline] |
Definition at line 83 of file multidim_knapsack.cc.
int operations_research::MultiDimKnapsackData::weight | ( | int | i, | |
int | j | |||
) | const [inline] |
Definition at line 84 of file multidim_knapsack.cc.
int operations_research::MultiDimKnapsackData::optimal_value | ( | ) | const [inline] |
Definition at line 85 of file multidim_knapsack.cc.
void operations_research::MultiDimKnapsackData::ProcessNewLine | ( | char *const | line | ) | [inline] |