coin-Bcp
Public Member Functions | Public Attributes | List of all members
MKC_knapsack Class Reference

#include <MKC_knapsack.hpp>

Collaboration diagram for MKC_knapsack:
Collaboration graph
[legend]

Public Member Functions

 MKC_knapsack ()
 
 ~MKC_knapsack ()
 
void pack (BCP_buffer &buf)
 
void unpack (BCP_buffer &buf)
 

Public Attributes

double cost
 
double capacity
 
int size
 
MKC_knapsack_entryentries
 
int color_num
 
int * color_beg
 
int orig_index
 

Detailed Description

Definition at line 83 of file MKC_knapsack.hpp.

Constructor & Destructor Documentation

MKC_knapsack::MKC_knapsack ( )
inline

Definition at line 97 of file MKC_knapsack.hpp.

MKC_knapsack::~MKC_knapsack ( )
inline

Definition at line 100 of file MKC_knapsack.hpp.

References color_beg, and entries.

Member Function Documentation

void MKC_knapsack::pack ( BCP_buffer buf)
void MKC_knapsack::unpack ( BCP_buffer buf)

Member Data Documentation

double MKC_knapsack::cost

Definition at line 85 of file MKC_knapsack.hpp.

double MKC_knapsack::capacity

Definition at line 86 of file MKC_knapsack.hpp.

int MKC_knapsack::size

Definition at line 87 of file MKC_knapsack.hpp.

MKC_knapsack_entry* MKC_knapsack::entries

Definition at line 89 of file MKC_knapsack.hpp.

Referenced by ~MKC_knapsack().

int MKC_knapsack::color_num

Definition at line 91 of file MKC_knapsack.hpp.

int* MKC_knapsack::color_beg

Definition at line 92 of file MKC_knapsack.hpp.

Referenced by ~MKC_knapsack().

int MKC_knapsack::orig_index

Definition at line 94 of file MKC_knapsack.hpp.


The documentation for this class was generated from the following file: