📄 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"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -