SJF Scheduling

SJF (Shortest Job First) Scheduling algorithm. Returns the execution order, completion times, waiting times, and the average turnaround and waiting times, given the burst and arrival times of processes.


Loading...
⌥ Variables

  arrivalTimes

string

  burstTimes

string

Secrets

Run cost = 1 credits

Functions are free if called from another workflow.

By submitting, you agree to Gooey.AI's terms & privacy policy.

Return value

{6 Items
"waitingTimes"
:
[
]5 Items
"executionOrder"
:
[
]5 Items
"completionTimes"
:
[
]5 Items
"turnaroundTimes"
:
[
]5 Items
"averageWaitingTime"
:
float
5.4
"averageTurnaroundTime"
:
float
10.6
}

Generated in 0.2s on 

...