From c195a7e06b41f984bf30b19efddab8679b339113 Mon Sep 17 00:00:00 2001 From: LakshmiSrikumar <141216093+LakshmiSrikumar@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:06:05 +0530 Subject: [PATCH] Update non_preemptive_sjf_scheduling.cpp --- .../non_preemptive_sjf_scheduling.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp b/cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp index a56928ac2..e7d9d3709 100644 --- a/cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp +++ b/cpu_scheduling_algorithms/non_preemptive_sjf_scheduling.cpp @@ -97,12 +97,12 @@ class SJF { /** * Priority queue of schedules(stored as tuples) of processes. * In each tuple - * 1st element: Process ID - * 2nd element: Arrival Time - * 3rd element: Burst time - * 4th element: Completion time - * 5th element: Turnaround time - * 6th element: Waiting time + * @tparam 1st element: Process ID + * @tparam 2nd element: Arrival Time + * @tparam 3rd element: Burst time + * @tparam 4th element: Completion time + * @tparam 5th element: Turnaround time + * @tparam 6th element: Waiting time */ priority_queue, vector>,