-1
Well, my teacher asked me to do an algorithm IN C-LANGUAGE that receives a value N which is the number of processes to be evaluated. Then it receives N pairs of values, each pair in a row. Each row will have a value C and other value P, representing the computational cost, and the period of each process.
Input example:
2
3 5
2 5
Example of Saida
OK
For entries, the program must print OK, if it is possible to scale using the EDF algorithm, or FAIL if scheduling is not possible using the EDF algorithm.
The problem is, I don’t understand how the EDF algorithm works. Could someone explain to me how to solve this problem ?
What is your question? What have you tried? What do these costs and periods mean? Is there an example you can provide that will return the failure?
– Jefferson Quesado