Skip to content

adding Shortest Job First scheduling algorithm #3810

@thanoskiver

Description

@thanoskiver

What would you like to Propose?

I want to add SJF algorithm to the project in the "scheduling" section and remove it from the "other" section.

The algorithm allows the waiting process with the minimal burst time to be executed first.

Issue details

for examble we have 3 processes at that arrive at the same time: P1 with burst time 5, P2 with burst time 2 and P3 burst time 3 , the output of the algorithm will be P2->P3->P1.

or we have 3 processes with the same burst time as the above but now P1 arrives at time 0, P2 arrives at time 1 and P3 at time 2, the output of the algorithm will be P1->P2->P3.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions