subject

Dijkstra’s algorithm may not terminate if the graph contains negative-weight edges

a) false. it always terminates after |e| relaxations and |v|+|e| priority queue operations, but may produce incorrect results.
b) true. it may not terminate and if it does after |e| relaxations and |v|+|e| priority queue operations, it may produce incorrect results.
c) true. it can never terminate as the negative-weight edges continuously reduce the shortest path weight even after |e| relaxations and |v|+|e| priority queue operations.
d) false. it can surely terminate as long as the negative-weight edges are not considered for the shortest path weight calculation among those |e| relaxations and |v|+|e| priority queue operations

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
Jasper and samantha are in a robotics competition. the guidelines state that the robots should be able to move a 10-gram weight at least 2 meters and turn in a circle. jasper and samantha have already built the robot. which step of the design process should they follow next to decide whether their robot meets the minimum criteria for the competition?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Match the sentence fragment in the first column with the appropriate ending in the second column. a little per favore?
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Which spreadsheet operation does a look function perform?
Answers: 1
You know the right answer?
Dijkstra’s algorithm may not terminate if the graph contains negative-weight edges

a) fa...
Questions
question
Mathematics, 13.09.2021 22:00
question
English, 13.09.2021 22:00
question
Mathematics, 13.09.2021 22:00
question
Mathematics, 13.09.2021 22:00
Questions on the website: 13722363