Exercises
You live in New York, and you need to visit Los Angeles, Miami, Seattle, and Houston.
a. How many different circuits does your graph have?
b. Approximate the cheapest route, using the nearest neighbor algorithm. Draw this route's graph.
c. Approximate the cheapest route, using the repetitive nearest neighbor algorithm. Draw this route's graph.
d. Approximate the cheapest route, using the cheapest edge algorithm. Draw this route's graph.
e. Why would it not be appropriate to find the cheapest route, using the brute force method?
From: | |||||||
CHI | NYC | LAX | MIA | SEA | HOU | ||
CHI |
|
|
|
|
|
||
To: | NYC |
|
|
|
|
|
|
LAX |
|
|
|
|
|
||
MIA |
|
|
|
|
|
||
SEA |
|
|
|
|
|
||
HOU |
|
|
|
|
$294 |
Figure 9.119 Flight costs between Chicago, New York, Los Angeles, Miami, Seattle, and Houston. Source: www.travelocity.com.
Want to see the full answer?
Check out a sample textbook solutionChapter 9 Solutions
MATHEMATICS A PRACTICAL ODYSSEY W/ACCESS
- Draw the graph of four-dimensional cube. How many edges and vertices arethere?arrow_forwardSocial Network 4. A group of friends is represented by the graph given below. An edge connecting two names means that the two friends have spoken to each other in the last month. a. have John and Stacy talked to each other in the last week? b. How many of the friends in this group has Steve talked to in the last week? c. Among this group of friends, who has talked to the most people in the last week? d. Why would it not make sense for this graph to contain a loop? Michael John Steve Erin Stacy Adaarrow_forwardMonroe County is trying to determine where to place the county fire station. The locations of the county’s four major towns are as follows: (10, 20), (60, 20), (40, 30), and (80, 60) (see Figure 7.50). Town 1 averages 40 fires per year; town 2, 25 fires; town 3, 20 fires; and town 4, 30 fires. The county wants to build the fire station in a location that minimizes the average distance that a fire engine must travel to respond to a fire. Because most roads run in either an east-west or a north-south direction, the fire engine must do the same. For example, if the fire station is located at (30, 40) and a fire occurs at town 4, the fire engine has to travel |80 - 30| + |60 - 40| = 70 miles to the fire. a. Determine where the fire station should be located. Round your answers to three decimal places. X Y Location of fire stationarrow_forward
- Monroe County is trying to determine where to place the county fire station. The locations of the county’s four major towns are as follows: (10, 20), (60, 20), (40, 30), and (80, 60) (see Figure 7.50). Town 1 averages 40 fires per year; town 2, 25 fires; town3, 20 fires; and town 4, 30 fires. The county wants to build the fire station in a location that minimizes the average distance that a fire engine must travel to respond to a fire. Because most roads run in either an east-west or a north-south direction, the fire engine must do the same. For example, if the fire station islocated at (30, 40) and a fire occurs at town 4, the fire engine has to travel *80 2 30* 1 * 60 2 40* 5 70 miles to the fire. a. Determine where the fire station should be located.b. Use SolverTable to see how the optimal location of the fire station changes as the number of fires at town 3 changes.arrow_forward1) The question screenshot has been attached down below answer step-by-steps.arrow_forwardNote:- Do not provide handwritten solution. Maintain accuracy and quality in your answer. Take care of plagiarism. Answer completely. You will get up vote for sure.arrow_forward
- 4. Suppose the city of Königsberg had the arrangement of islands and bridges pictured on the left instead of the arrangement that we introduced previously. Represent the map as graph. Would the citizens be able to complete a stroll across each bridge and return to their starting points without crossing the same bridge twice? Explain why or why not.arrow_forwardGraph with four vertices of degrees 3 3 5 5arrow_forward3. Show the step-by-step process. Do not use shortcut methods. Make it as detailed as it can be. MAKE A DIAGRAM AND ENCODE THE ANSWER.arrow_forward
- kindly show the required full solution.arrow_forwardHow many connected components does the following graphs have? Required information NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. How many connected components does the following graphs have? Required information NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. How many connected components does the following graphs have? Required information NOTE: This is a multi-part question. Once an answer is submitted, you will be unable to return to this part. How many connected components does the following graphs have?arrow_forwardWhat is the sum of degrees of the nodes of the following cycle graph= 2 6. 3 2 14 21arrow_forward
- Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal Littell