school Project
this is the header code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
//#ifndef User_H
//#define User_H
class User
{
public:
User(); //constructor
void SetUserChannelConditions(float, int);
float GetUserChannelConditions(int);
void SetUserPacketDelays(float, int);
float GetUserPacketDelays(int);
void SetUserGBR(bool, int);
bool GetUserGBR(int);
void Print_Values();
int ComputeMaxVal_User_Channel_Conditions();
int ComputeMaxVal_User_Packet_Delays();
int SelectUser1();
int SelectUser2();
int SelectUser3();
int SelectUser4();
int SelectUser5();
int SelectUser6();
//void Select_Final_Allocation_List();
void Print_Selected_Users();
//void Print_Final_Allocation_List();
protected:
float User_Channel_Conditions[50];
float User_Packet_Delays[50];
bool User_GBR[50];
int Final_Allocation_List[50];
bool Users_Black_List[50];
};
|
Topic archived. No new replies allowed.