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;//执行次数
};
2022-05-20 19:39:07
5KB
llf
1