MKC_knapsack_entry Struct Reference

#include <MKC_knapsack.hpp>

List of all members.

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


Detailed Description

Definition at line 13 of file MKC_knapsack.hpp.


Constructor & Destructor Documentation

MKC_knapsack_entry::MKC_knapsack_entry (  )  [inline]

Definition at line 22 of file MKC_knapsack.hpp.

MKC_knapsack_entry::~MKC_knapsack_entry (  )  [inline]

Definition at line 24 of file MKC_knapsack.hpp.


Member Function Documentation

void MKC_knapsack_entry::pack ( BCP_buffer buf  ) 

void MKC_knapsack_entry::unpack ( BCP_buffer buf  ) 


Member Data Documentation

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().


The documentation for this struct was generated from the following file:
Generated on Thu Jan 15 03:03:29 2009 for coin-Bcp by  doxygen 1.4.7