Markov Queue Simulation

E6711 - Stochastic Signals and Noise

by Lev Givon

This applet simulates an M/M/s queue. One may specify the number of servers, the arrival rate, and the service by pressing the Settings button. M/M/infinity simulation is also supported.

The applet was written using the Swing GUI components supported in Java 2 in order to give it a reasonably aesthetic interface. The use of Swing also permitted the incorporation of some parts of JFreeChart, a freely available chart construction class library for Java 2. Owing to certain limitations of the JFreeChart bar chart components, the probability distribution histograms are approximate (e.g., the probability values in the service distribution chart are averaged over intervals in order to prevent the chart from getting excessively cluttered).

NOTE: This applet requires Java 2 (e.g., version 1.3.1 of Sun's implementation of the Java SDK) in order to run. You can download Sun's Java 2 SDK and/or JRE at http://java.sun.com/j2se/.

If you are unable to get the Java 2 plugin to work with Netscape 4 (various interaction problems involving version 1.3.1 of the SDK/JRE have been reported), you can run the applet by installing the Java 2 SDK or JRE and running the appletviewer utility:

appletviewer http://www.columbia.edu/~leg22/e6711/markovapplet.html

Source Code and Related Downloads

Applet source code:
Precompiled jar file:
JFreeChart home page: