Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The diagram above represents a graph. Use the following abbreviations to represent the nodes: MH= Mayors house; BA= Bakery; MF= McFanes's Farm; BR= Brewery;

image text in transcribed image text in transcribed 

The diagram above represents a graph. Use the following abbreviations to represent the nodes: MH= Mayors house; BA= Bakery; MF= McFanes's Farm; BR= Brewery; TF= Thomas' Farm; IN=In; DC= Dry cleaner; LI=Library and CH= City Hall (a) Using either adjacency matrix or list, what is the time complexity of adding a new facility, say School (SC). The community has decided to remove either the Brewery or Inn. What is the time complexity of doing this? (b) The following roads are unidirectional (one-way): MF-> BR=21, DC->IN= 19, LI->IN=6, MF->BA= 9; IN->BR=5, what is the complete adjacency matrix? All roads leading to the Mayor's house are one-way and 17 miles each. Other non-given roads are 12 miles in length (bidirectional). (c) Produce the adjacency list and state whether the graph is dense, sparse and/or planar. Justify your answer. Bakery Mayor's House McFane's Farm Brewery Inn Library Thomas Farm Dry cleaner City Hall

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Accounting questions

Question

=+d) What components would you now say are in this series?

Answered: 1 week ago