Buffer Animation
|
Buffer Animationis an easy to use application that simulates the Consumer - Producer Problem (also known as the Buffer Problem) on both Bounded and Unbounded states. This application gives its users the ability to play and pause the simulation and to set critical simulation parameters. These parameters include:
1. Unit Transfer - an integer that represents the amount or size of the unit transferred from the producer to the buffer and from the buffer to the consumer.
2. Transfer Speed - controls the speed of unit transferred from the producer to the buffer and from the buffer to the consumer.
There are four adjustment levels for this parameter. Each level varies the amount of time it takes for the transfer to be completed. *Level1 to Level4: left to right for production and right to left for consumption.
Level1 = 2 seconds
Level2 = 1.5seconds
Level3 = 1 second
Level4 = 0.5 second
3. Current Buffer - an integer that represents the amount of current buffer. This parameter can be set by clicking the ratio inside the image of the factory.
4. Maximum Buffer - an integer that represents the maximum allowable buffer. This parameter can be set by clicking the Bounded mode.
5. Mode - sets the simulation mode to be on Bounded or Unbounded state. The Bounded state sets the maximum buffer size as defined by the user. The Unbounded state sets the maximum buffer size to infinity.
The following buttons are used in controlling the application:
1. Play Button - starts the simulation with the current set parameters. Parameters cannot be changed once the simulation has started.
2. Pause Button - stops the simulation and enables the user to set the simulation parameters.
3. Reset Button - reset the simulation parameters to their default value.
4. CloseButton - closes the application
Transfer Status and other useful statistical information are displayed during simulation. They are the following:
1. Transfer Rate
2. Total Transferred Unit
3. Total Wait Time
4. Transfer Status
The license of this software is Free, you can free download and free use this application software.