Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upadded scheduling algorithm #599
Conversation
|
@yanglbme Please review. Thanks |
| import java.util.ArrayList; | ||
| import java.util.Comparator; | ||
| import java.util.*; | ||
|
|
| remainingProcess = new ArrayList<Process>(); | ||
|
|
||
| gantChart = new ArrayList<Integer>(); | ||
| arrivals = new HashMap<Integer, ArrayList<Process>>(); |
yanglbme
Oct 27, 2018
Member
We use Java 8, so you can simplify your code. Like this
gantChart = new ArrayList<>();
arrivals = new HashMap<>();|
@yanglbme made changes as mentioned by you. please review thanks |
|
Use Java doc comments, please. See the following example:
|
|
@yanglbme Please review. |
Scheduling Algorithm - Priority and Shortest job first which solves the starvation