File tree 1 file changed +7
-2
lines changed
src/main/java/com/thealgorithms/scheduling
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 3
3
import java .util .Arrays ;
4
4
5
5
/**
6
- * The HighestResponseRatioNext class implements the HRRN scheduling algorithm.
7
- * It calculates the Turn Around Time (TAT) and Waiting Time (WT) for a set of processes.
6
+ * The HighestResponseRatioNextScheduling class implements
7
+ * the Highest Response Ratio Next (HRRN) scheduling algorithm.
8
+ * HRRN is a non-preemptive scheduling algorithm that
9
+ * selects the process with the highest response ratio for execution.
10
+ * The response ratio is calculated as (waiting time + burst time) / burst time.
11
+ * This algorithm aims to reduce the average waiting time
12
+ * and improve overall system performance by balancing short and long processes.
8
13
*/
9
14
public class HighestResponseRatioNextScheduling {
10
15
You can’t perform that action at this time.
0 commit comments