Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ non_preemptive_shortest_job_first.py
File
non_preemptive_shortest_job_first.py
scheduling/non_preemptive_shortest_job_first.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Non-preemptive Shortest Job First
3
Shortest execution time process is chosen
for
the next execution.
4
https://www.guru99.com/shortest-job-first-sjf-scheduling.html
Callers
nothing calls this directly
Calls
3
mean
Function · 0.85
calculate_waitingtime
Function · 0.70
calculate_turnaroundtime
Function · 0.70
Tested by
no test coverage detected