Description: class GreedyAlgorithm{
public:
GreedyAlgorithm(int _weight[],int _value[],int capacity)
double*ComputeRatio()
void SortRatio(double _Ratio[])
double ComputeProfit()
private:
int*weight
int*value
int capacity
double profit
}
To Search:
File list (Check if you may need any files):
tanxinsuanfa.cpp