This repository contains a web-based simulator that implements and visualizes the most common process scheduling algorithms in operating systems:
- FIFO (First-In, First-Out)
- Round Robin
- SJF (Shortest Job First)
- Interactive web interface for experimenting with process scheduling algorithms
- Customizable parameters for each algorithm (e.g., time quantum for Round Robin)
- Visualization of process execution and waiting times
- Comparative analysis of algorithm performance
To run the simulator locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Areshkew/dispatch_algorithms.git
-
Navigate to the project directory:
cd dispatch_algorithms
-
Open the
index.html
file in your web browser.
- Select the desired scheduling algorithm from the radio options.
- Adjust the algorithm processes.
- Click the "Solve" button to run the visualization.
- View the results, including the chart and wating time and system time.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.
- This simulator was inspired by the need to better understand process scheduling algorithms in operating systems.
Feel free to customize the README file based on your specific implementation details and add any additional sections as needed.