1. Draw the following graph and answer the three questions below. (20) V={Red, Yellow, Green}, where each node represents a color state of a
1. Draw the following graph and answer the three questions below. (20) V={Red, Yellow, Green}, where each node represents a color state of a traffic light system. E = {(Red, Yellow), (Yellow, Green), (Green, Red), (Red, Green), (Red, Yellow)}, where the edges represent transitions from one traffic light state to another. (a) Is it a directed graph or undirected graph? (b) Which of the transitions (edges) do not make sense in practice? For example, does a yellow light follow a red light in traffic? (c) Modify the set of edges (E) and show the correct traffic light transitions in a corrected graph. 2. Draw a complete graph using five vertices a, b, c, d, e. (5)
Step by Step Solution
3.35 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started