Let G be a directed graph possibly with positive edge length. Let v + vz V3V4 be one shortest path from vị to v4. Let vz v4U5 Vs be one shortest path from v3 to vg. Which one of the following is NOT true? O distance(v, v3) + distance(vs, ve) = distance(v, v6). The path v + vs v is one shortest path from vz to v. O The path us v4 + Us is one shortest path from vg to us. O distance(v, vs) 2 distance(v2, vs).

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Let G be a directed graph possibly with positive edge length. Let v v2 + v3 + v4 be one
shortest path from vị to v4. Let vz + v4 + V5 → V6 be one shortest path from v3 to v6. Which
one of the following is NOT true?
distance(v, v3) + distance(vs, v6) = distance(v1, vs).
O The path v2 - U3 + v4 is one shortest path from vz to va.
O The path v3 - v4 + U5 is one shortest path from vs to v5.
O distance(v1, v4) 2 distance(v2, v3).
Question 2
Suppose that after running DFS-with-timing on a directed graph G, the [pre, post] values for u and
v are (3, 10] and [4, 5] respectively. Which one of the following is true?
u and v must be in the same connected component.
none of the others is true.
v can reach u
u and v must be not in the same connected component.
u can reach v
Transcribed Image Text:Let G be a directed graph possibly with positive edge length. Let v v2 + v3 + v4 be one shortest path from vị to v4. Let vz + v4 + V5 → V6 be one shortest path from v3 to v6. Which one of the following is NOT true? distance(v, v3) + distance(vs, v6) = distance(v1, vs). O The path v2 - U3 + v4 is one shortest path from vz to va. O The path v3 - v4 + U5 is one shortest path from vs to v5. O distance(v1, v4) 2 distance(v2, v3). Question 2 Suppose that after running DFS-with-timing on a directed graph G, the [pre, post] values for u and v are (3, 10] and [4, 5] respectively. Which one of the following is true? u and v must be in the same connected component. none of the others is true. v can reach u u and v must be not in the same connected component. u can reach v
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Minimum Spanning Tree
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education