Dining Philosophers Simulation Page
Scroll down for Simulation notes.

Dining Philosophers Simulation


        

Legend:

[ T ] = Think
[PUL] = Pick Up Left
[PUR] = Pick Up Right
[ E ] = Eat
[PDL] = Put Down Left
[PDR] = Put Down Right
[ B ] = Blocked
















Simulation Notes

This Simulation Page lets you experiment with the algorithms. Each run results in a unique timeline, based on the chosen algorithm and parameters. The timelines often exceed the box width, so horizontal scrolling may be needed.

Parameters

Dining Philosophers Problem

Statistics

A simulation run will output detailed statistics, including the measures:

For exponential and normal distributions, longer run times may help capture large outliers.