MCPcopy 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"""
2Non-preemptive Shortest Job First
3Shortest execution time process is chosen for the next execution.
4https://www.guru99.com/shortest-job-first-sjf-scheduling.html

Callers

nothing calls this directly

Calls 3

meanFunction · 0.85
calculate_waitingtimeFunction · 0.70
calculate_turnaroundtimeFunction · 0.70

Tested by

no test coverage detected