answersLogoWhite

0


Best Answer

what is the diffrnce

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What relation holds between priority and shortest job first algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is Dijkstra's algorithm?

Dijkstra's algorithm is used by the OSPF and the IS-IS routing protocols. The last three letters in OSPF (SPF) mean "shortest path first", which is an alternative name for Dijkstra's algorithm.


What is the Least Slack Time scheduling algorithm used for?

The Least Slack Time scheduling algorithm is used for assigning priority based on the slack time (temporal difference between the deadline, ready time and run time) of a process.


What is the complexity of Floyd warshall algorithm?

The Floyd-Warshall algorithm is a classic example of dynamic programming used to find the shortest paths between all pairs of vertices in a weighted graph. It's a powerful algorithm that works for both directed and undirected graphs, and handles negative weights as well. The algorithm operates in a systematic manner, progressively building up the solution by considering intermediate vertices between each pair of vertices, and determining if a shorter path can be found by going through that intermediate vertex. The core of the Floyd-Warshall algorithm involves three nested loops. The outer loop iterates through each vertex in the graph, treating it as an intermediate vertex. The two inner loops iterate through all pairs of vertices, checking and updating the shortest path between them if a shorter path is found through the intermediate vertex. Due to this triple nested loop structure, the time complexity of the Floyd-Warshall algorithm is often expressed as O(n3) where n is the number of vertices in the graph. While the time complexity might seem high, the Floyd-Warshall algorithm's ability to solve the all-pairs shortest path problem in a straightforward and understandable manner makes it a valuable tool in the realm of graph theory and network analysis. The space complexity of the algorithm is O(n2) as it requires a two-dimensional matrix to store the shortest path distances between all pairs of vertices. The matrix used by the Floyd-Warshall algorithm is initialized with the direct distances between vertices, and is progressively updated through the algorithm's iterations. Each cell in the matrix ultimately contains the shortest distance between the corresponding pair of vertices. In practical scenarios, the Floyd-Warshall algorithm can be used in various domains including routing protocols in networking, travel itinerary planning, and in many applications where optimizing routes through networks is crucial. Despite its cubic time complexity, the Floyd-Warshall algorithm's ability to handle negative weights and its straightforward implementation makes it a popular choice for the all-pairs shortest path problem, especially when the graph has a relatively small number of vertices, or when a precise and comprehensive solution is required over performance. In conclusion, the Floyd-Warshall algorithm is a compelling, albeit computationally intensive, method to solve the all-pairs shortest path problem. Its cubic time complexity might be a deterrent for extremely large graphs, yet its robustness and simplicity keep it relevant in many practical situations where understanding and optimizing network pathways are essential.


What is the difference between AES Rijndael symmetric algorithm encryption and a hash algorithm?

678


What is difference between lemma and algorithm?

A Method that used to be a comouter to soultion of promlems is called algorithm.

Related questions

What relation between priority and shortest job first?

Priority scheduling is a CPU scheduling algorithm where each process has a priority associated with it. Shortest job first (SJF) is a scheduling algorithm where the process with the shortest burst time is scheduled first. The relationship between the two is that a priority scheduling algorithm can be used where the priority of a process is determined by its burst time, effectively making it similar to a shortest job first algorithm.


What is Dijkstra's algorithm?

Dijkstra's algorithm is used by the OSPF and the IS-IS routing protocols. The last three letters in OSPF (SPF) mean "shortest path first", which is an alternative name for Dijkstra's algorithm.


What is the Dijkstra's algorithm?

Dijkstra's algorithm has importance when you are trying to find the shortest path between two points. It's used in the computer networking field where routing protocols, like OSPF, uses it to find the shortest path between routers. http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm


What is the Least Slack Time scheduling algorithm used for?

The Least Slack Time scheduling algorithm is used for assigning priority based on the slack time (temporal difference between the deadline, ready time and run time) of a process.


What is the complexity of Floyd warshall algorithm?

The Floyd-Warshall algorithm is a classic example of dynamic programming used to find the shortest paths between all pairs of vertices in a weighted graph. It's a powerful algorithm that works for both directed and undirected graphs, and handles negative weights as well. The algorithm operates in a systematic manner, progressively building up the solution by considering intermediate vertices between each pair of vertices, and determining if a shorter path can be found by going through that intermediate vertex. The core of the Floyd-Warshall algorithm involves three nested loops. The outer loop iterates through each vertex in the graph, treating it as an intermediate vertex. The two inner loops iterate through all pairs of vertices, checking and updating the shortest path between them if a shorter path is found through the intermediate vertex. Due to this triple nested loop structure, the time complexity of the Floyd-Warshall algorithm is often expressed as O(n3) where n is the number of vertices in the graph. While the time complexity might seem high, the Floyd-Warshall algorithm's ability to solve the all-pairs shortest path problem in a straightforward and understandable manner makes it a valuable tool in the realm of graph theory and network analysis. The space complexity of the algorithm is O(n2) as it requires a two-dimensional matrix to store the shortest path distances between all pairs of vertices. The matrix used by the Floyd-Warshall algorithm is initialized with the direct distances between vertices, and is progressively updated through the algorithm's iterations. Each cell in the matrix ultimately contains the shortest distance between the corresponding pair of vertices. In practical scenarios, the Floyd-Warshall algorithm can be used in various domains including routing protocols in networking, travel itinerary planning, and in many applications where optimizing routes through networks is crucial. Despite its cubic time complexity, the Floyd-Warshall algorithm's ability to handle negative weights and its straightforward implementation makes it a popular choice for the all-pairs shortest path problem, especially when the graph has a relatively small number of vertices, or when a precise and comprehensive solution is required over performance. In conclusion, the Floyd-Warshall algorithm is a compelling, albeit computationally intensive, method to solve the all-pairs shortest path problem. Its cubic time complexity might be a deterrent for extremely large graphs, yet its robustness and simplicity keep it relevant in many practical situations where understanding and optimizing network pathways are essential.


What is the difference between unsecured priority and unsecured non priority?

priority debts must be pais IN FULL, non-priority does not.


What is the difference between AES Rijndael symmetric algorithm encryption and a hash algorithm?

678


What is difference between lemma and algorithm?

A Method that used to be a comouter to soultion of promlems is called algorithm.


Write an algorithm for Round Robin CPU scheduling using?

On each system clock tick, at interval set by design...If no other runnable threads, return from clock interrupt.Save the currently running thread's context.Restore the next runnable thread's context.Return from clock tick interrupt.Note: Most modern schedulers combine round-robin with priority. In the priority scheme, any runnable thread with a higher priority than the interrupted thread takes precedence. If there are none, then round-robin applies at the current priority. If there are no runnable threads at the current priority, lower priorities are considered until we reach the idle priority thread, which, by the way, is always runnable.Also, there is usually an algorithm that adjusts thread priority dynamically. As the thread runs, if it stays runnable its priority slowly drops from its initial base priority. If it is constantly blocking and then then becoming runnable, its priority increases, often faster than it decreases. This makes interactive threads appear to be very responsive, while CPU intensive threads slowly defer to interactive threads. This is usually a good compromise between responsiveness and throughput.


What is the Difference between relation schema and relation instance?

difference between relation sehema and relation instance in dbms


What is the difference between advanced encryption algorithm and encryption algorithm?

People have developed many encryption algorithms. One particular encryption algorithm is the Rijndael algorithm, usually called the AES or Advanced Encryption Standard.


Difference between shortest path and alternate path?

difference between shortest path and alternate path