摘要: 1 //离散事件模拟,模拟银行营业排队情况 2 #include 3 #include 4 #include 5 6 #define OK 1 7 #define ERROR 0 8 #define TRUE 1 9 #define FALSE 0 10 11 typedef int Status; 12 13 typedef struct Event{ //事件类型 14 int OccurTime; //事件发生时刻 15 int NType; //事件类型,0表示到达事件,1-4表示4个窗口离开事... 阅读全文
posted @ 2014-03-14 21:10 夜尽·天明 阅读(1144) 评论(0) 推荐(0)