2. Probability Table - csteven1/MultiAgentSimulator GitHub Wiki
Entering Probabilities
The second page in the application shows the movement probability table, as well as setting the save location for the simulation and finally running the simulation. Depending on the number of rooms specified on the previous page, the table will vary in size compared to the screenshot below.
- The row titles indicate where a person currently is, i.e. where they will be moving from.
- The column headings indicate where a person will be moving to.
- The values in the total column show the total values of all the cells in each row. These values must equal 1 in each row. This ensures that there is no other possible movement for a person to make in the system.
In the example system shown in the above screenshot, if a person is located in Room 1, the probability of them moving to Room 1, i.e. staying in the same room, is 0.9. Since no more rooms exist in this system other than Room 2, the probability of them moving to Room 2 must be 0.1.
In the screenshot, the probability of moving from Room 2 to Room 2 is currently being edited. When the value is entered and the cell exited, the value of the total column will update.
Setting the Save Location
Before a simulation can be performed, the save location of the results of the simulation must be set.
Find a directory to save your results, enter a file name and click save.