MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / highest_response_ratio_next.py

File highest_response_ratio_next.py

scheduling/highest_response_ratio_next.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Highest response ratio next (HRRN) scheduling is a non-preemptive discipline.
3It was developed as modification of shortest job next or shortest job first (SJN or SJF)
4to mitigate the problem of process starvation.

Callers

nothing calls this directly

Calls 3

calculate_waiting_timeFunction · 0.85
meanFunction · 0.85

Tested by

no test coverage detected