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 18:30
List the five on-board vehicle subsystems
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
question
Computers and Technology, 25.06.2019 02:30
What group of plants produce fruit? question 2 options: gymnosperms nonvascular plants seedless vascular plants angiosperms
Answers: 1
question
Computers and Technology, 25.06.2019 09:00
(environmental science semester 1) which statement best describes the limits of science? a. science cannot answer any abstract questions. b. when used properly, science can answer any questions. c. usually science can answer only mathematical questions. d. science cannot answer religious questions.
Answers: 2
You know the right answer?
Dijkstra’s algorithm may not terminate if the graph contains negative-weight edges

a) fa...
Questions
question
Social Studies, 17.12.2019 23:31
Questions on the website: 13722361