Solution Found!

Infinite paths. Let G = (V, E) be a directed graph with a designated start vertex s V

Chapter 3, Problem 3.17

(choose chapter or problem)

Get Unlimited Answers
QUESTION:

Infinite paths. Let G = (V, E) be a directed graph with a designated start vertex s V , a setVG V of good vertices, and a set VB V of bad vertices. An infinite trace p of G is an infinitesequence v0v1v2 of vertices vi V such that (1) v0 = s, and (2) for all i 0, (vi, vi+1) E. Thatis, p is an infinite path in G starting at vertex s. Since the set V of vertices is finite, every infinitetrace of G must visit some vertices infinitely often.(a) If p is an infinite trace, let Inf(p) V be the set of vertices that occur infinitely often in p.Show that Inf(p) is a subset of a strongly connected component of G.(b) Describe an algorithm that determines if G has an infinite trace.(c) Describe an algorithm that determines if G has an infinite trace that visits some good vertexin VG infinitely often.(d) Describe an algorithm that determines if G has an infinite trace that visits some good vertexin VG infinitely often, but visits no bad vertex in VB infinitely often.

Questions & Answers

QUESTION:

Infinite paths. Let G = (V, E) be a directed graph with a designated start vertex s V , a setVG V of good vertices, and a set VB V of bad vertices. An infinite trace p of G is an infinitesequence v0v1v2 of vertices vi V such that (1) v0 = s, and (2) for all i 0, (vi, vi+1) E. Thatis, p is an infinite path in G starting at vertex s. Since the set V of vertices is finite, every infinitetrace of G must visit some vertices infinitely often.(a) If p is an infinite trace, let Inf(p) V be the set of vertices that occur infinitely often in p.Show that Inf(p) is a subset of a strongly connected component of G.(b) Describe an algorithm that determines if G has an infinite trace.(c) Describe an algorithm that determines if G has an infinite trace that visits some good vertexin VG infinitely often.(d) Describe an algorithm that determines if G has an infinite trace that visits some good vertexin VG infinitely often, but visits no bad vertex in VB infinitely often.

ANSWER:

Step 1 of 5

In a graph, if two vertices are connected to each other, that is there is a path from one vertex to the other and vice versa. This connected component partition is called strongly connected components of the graph. The connected components of the graph form the strongly connected graph. The directed acyclic graph is made with strongly connected components.

Add to cart


Study Tools You Might Need

Not The Solution You Need? Search for Your Answer Here:

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back