?? readme~
字號:
Simulation of M/M/m/K queueing system-----------------------------------Description: This program simulates an M/M/m/K queueing system. The simulation outputs the number of customers in the queue after 500000 departures from the system, and perfomance measures includingaverage number of customers in the system over the entire simulation,average time in sysmtem and average blocking rate. Theoretical values of these measures were also given as a comparison.Platform/compiler: UNIX, g++Files:event.cpp - Functions for inserting and removing Events from EventLists event.h - Data structures for Events and EventListsmain.cpp - Main program for simulationMakefile - Makefile for simulationout.txt - output of the simulationrv.cpp - Functions which return uniform and exponential random variablesrv.h - Header file for rv.cppqueuemmmk.cpp -- Class for an M/M/m/K queueing system, including methods of simulation and outputing measures as well as theoretical valuesqueuemmmk.h -- Header file for queuemmmk.cppCompiling instructions:Edit Makefile to point to the c++ compiler on the local machine.To compile, place all files within a single directory and type "make".To run, type "sim" or "./sim"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -