Skip to content

bmarquis3500/Bankers-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bankers-Algorithm

This program facilitates a simulation of the Banker's Algorithm.

For information about the bankers algorithm you can look here: https://www.youtube.com/watch?v=T0FXvTHcYi4&t=37s&ab_channel=ComputerScience

This program represents a twist on the class banker's algorithm problem. It uses a recursive method to find not only a single possible safe sequence to navigate the deadlock but all of the possible safe sequences.

This is made possible with the ProcessDict data type created for this program. This program works by running the BankersAlgorithm.java file and inputting the name of a text file. Three demonstration text files are included in the git to show proper formatting.

The program will take the data from the file as input and calculate all possible safe sequences for the computer to escape deadlock recursively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages