Skip to content

adding Shortest Job First scheduling algorithm #3810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thanoskiver opened this issue Jan 11, 2023 · 1 comment
Closed

adding Shortest Job First scheduling algorithm #3810

thanoskiver opened this issue Jan 11, 2023 · 1 comment

Comments

@thanoskiver
Copy link
Contributor

thanoskiver commented Jan 11, 2023

What would you like to Propose?

I want to add SJF algorithm to the project in the "scheduling" section and remove it from the "other" section.

The algorithm allows the waiting process with the minimal burst time to be executed first.

Issue details

for examble we have 3 processes at that arrive at the same time: P1 with burst time 5, P2 with burst time 2 and P3 burst time 3 , the output of the algorithm will be P2->P3->P1.

or we have 3 processes with the same burst time as the above but now P1 arrives at time 0, P2 arrives at time 1 and P3 at time 2, the output of the algorithm will be P1->P2->P3.

Additional Information

No response

@thanoskiver
Copy link
Contributor Author

hello, I have created a pull request for the algorithm.(#3843)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant