|
coin-Bcp
|
#include <MKC_knapsack.hpp>
Public Member Functions | |
| MKC_knapsack_entry () | |
| ~MKC_knapsack_entry () | |
| void | pack (BCP_buffer &buf) |
| void | unpack (BCP_buffer &buf) |
Public Attributes | |
| int | orig_index |
| int | index |
| int | color |
| double | weight |
| double | orig_cost |
| double | cost |
| double | ratio |
Definition at line 13 of file MKC_knapsack.hpp.
|
inline |
Definition at line 22 of file MKC_knapsack.hpp.
|
inline |
Definition at line 24 of file MKC_knapsack.hpp.
| void MKC_knapsack_entry::pack | ( | BCP_buffer & | buf | ) |
| void MKC_knapsack_entry::unpack | ( | BCP_buffer & | buf | ) |
| int MKC_knapsack_entry::orig_index |
Definition at line 14 of file MKC_knapsack.hpp.
| int MKC_knapsack_entry::index |
Definition at line 15 of file MKC_knapsack.hpp.
| int MKC_knapsack_entry::color |
Definition at line 16 of file MKC_knapsack.hpp.
Referenced by MKC_ks_entry_color_ascend().
| double MKC_knapsack_entry::weight |
Definition at line 17 of file MKC_knapsack.hpp.
Referenced by MKC_ks_entry_weight_ascend(), and MKC_ks_entry_weight_descend().
| double MKC_knapsack_entry::orig_cost |
Definition at line 18 of file MKC_knapsack.hpp.
| double MKC_knapsack_entry::cost |
Definition at line 19 of file MKC_knapsack.hpp.
| double MKC_knapsack_entry::ratio |
Definition at line 20 of file MKC_knapsack.hpp.
Referenced by MKC_ks_entry_ratio_descend().
1.8.5