I'm not sure where to start or what to do for this homework problem. Can someone give me some help?

A region contains a number of towns connected by roads. Each road is labeled by the average number of minutes required for a fire engine to travel to it. Each intersection is labeled with a circle. Suppose that you work for a city that has decided to place a fire station at location G.

Graph: http://imgur.com/a/nz3Ck

b) Suppose one ”optimal” location (maybe instead of G) must be selected for the fire station such that it minimizes the distance to the farthest intersection. Devise an algorithm to solve this problem given an arbitrary road map. Analyze the time complexity of your algorithm when there are f possible locations for the fire station (which must be at one of the intersections) and r possible roads.

# Graph road map problem

Page 1 of 1## 1 Replies - 1203 Views - Last Post: 22 July 2016 - 10:18 PM

##
**Replies To:** Graph road map problem

### #2

## Re: Graph road map problem

Posted 22 July 2016 - 10:18 PM

You can reduce this to the All-Pairs Shortest Paths problem. Since this is a homework problem for what looks like an Algorithms class, this should hopefully give you an idea of where to begin in your notes/textbook.

Page 1 of 1