Download jar file from the link provided above and run it directly.
Linux :
Command line to download Chrome Web Browser :
sudo apt-get install chromium-browser
Command line to run jar file :
java -jar (filename).jar
Steps to use Simulator :
Consider the following example :
Step 1 : Download the jar file
of the simulator from the link given above.
Step 2 : Once the jar file
gets downloaded click to open it. The following window will appear.
Step 3 : As per the example
given above,add Allocation matrix in the given window.Each process needs to be added one by one and once the
process is added click on "Add Process" button. After that check whether data is added is added
correctly in the adjacent table or not.If not,then again press "Add Process" button.For process column,user
can give any process name such as P0, P1 etc in upper as well as in lower case. It is shown in the image given
below :
For adding next process,repeat the same procedure. All the processes needs to added
one by one and once added, the Allocation Table looks like this :
Step 4 : Similarly add Maximum
Matrix data in table. The entered data will be displayed in Max Allocation section. Check if all
entries are entered properly in the table.
Step 5 : Similarly add
Available matrix data in table. The entered data will be displayed in Available Matrix section. Click
on "Calculate" button after entering process step by step. Check if all entries are entered properly in
the table. If there is some mistake, user needs to repeat all steps again.
Step 6 : The safe sequence gets
displayed in the Safe Sequence section on right side of window. Below that we get to know if the
sequence is allocated safely or not. Also need matrix gets calculated and displayed in Need Matrix
section.
Step 7 : If sequence is not
safely allocated then the answer will be displayed likewise in the image given below. For example, consider
the question given below in the image. In this example, the sequence is not safely allocated and then the
result is displayed as sequence is Unsafe.