coin-Bcp
Classes | Functions
MKC_knapsack.hpp File Reference
#include "BCP_vector.hpp"
Include dependency graph for MKC_knapsack.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MKC_knapsack_entry
 
class  MKC_knapsack_fixing
 
class  MKC_knapsack
 
class  MKC_knapsack_set
 

Functions

bool MKC_ks_entry_color_ascend (const MKC_knapsack_entry &order0, const MKC_knapsack_entry &order1)
 
bool MKC_ks_entry_ratio_descend (const MKC_knapsack_entry &order0, const MKC_knapsack_entry &order1)
 
bool MKC_ks_entry_weight_ascend (const MKC_knapsack_entry &order0, const MKC_knapsack_entry &order1)
 
bool MKC_ks_entry_weight_descend (const MKC_knapsack_entry &order0, const MKC_knapsack_entry &order1)
 

Function Documentation

bool MKC_ks_entry_color_ascend ( const MKC_knapsack_entry order0,
const MKC_knapsack_entry order1 
)
inline

Definition at line 31 of file MKC_knapsack.hpp.

References MKC_knapsack_entry::color.

bool MKC_ks_entry_ratio_descend ( const MKC_knapsack_entry order0,
const MKC_knapsack_entry order1 
)
inline

Definition at line 37 of file MKC_knapsack.hpp.

References MKC_knapsack_entry::ratio.

bool MKC_ks_entry_weight_ascend ( const MKC_knapsack_entry order0,
const MKC_knapsack_entry order1 
)
inline

Definition at line 43 of file MKC_knapsack.hpp.

References MKC_knapsack_entry::weight.

bool MKC_ks_entry_weight_descend ( const MKC_knapsack_entry order0,
const MKC_knapsack_entry order1 
)
inline

Definition at line 49 of file MKC_knapsack.hpp.

References MKC_knapsack_entry::weight.