資源簡介
llf算法程序
#include
#include
using namespace std;
class Process
{public:
Process();
Process(string n,float ct,float rt,int num):name(n),cycletime(ct),runtime(rt),number(num){}
string getName();
float getCycletime();
float getRuntime();
int getNumber();
void setName();
void setCycletime();
void setRuntime();
void setNumber();
private:
string name;
float cycletime;
float runtime;
int number;//執(zhí)行次數(shù)
};
代碼片段和文件信息
評論
共有 條評論