TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Comparator class for priority queue. More...
Public Member Functions | |
bool | operator() (tuple< S, T, E, double, double, double > &t1, tuple< S, T, E, double, double, double > &t2) |
A comparator function that checks whether to swap the two tuples or not. to https://www.geeksforgeeks.org/comparator-class-in-c-with-examples/ for detailed description of comparator. | |
bool | operator() (tuple< S, T, E, double, double, double > &t1, tuple< S, T, E, double, double, double > &t2) |
A comparator function that checks whether to swap the two tuples or not. detailed description of comparator | |
Comparator class for priority queue.
S | Data type of Process ID |
T | Data type of Arrival time |
E | Data type of Burst time |
Definition at line 63 of file fcfs_scheduling.cpp.
|
inline |
A comparator function that checks whether to swap the two tuples or not. to https://www.geeksforgeeks.org/comparator-class-in-c-with-examples/ for detailed description of comparator.
t1 | First tuple |
t2 | Second tuple |
Definition at line 76 of file fcfs_scheduling.cpp.
|
inline |
A comparator function that checks whether to swap the two tuples or not. detailed description of comparator
t1 | First tuple |
t2 | Second tuple |
Definition at line 74 of file non_preemptive_sjf_scheduling.cpp.