a) Explain the difference between the A* algorithm and Dijkstras algorithm. b) The following graph (network) shows
Question:
a) Explain the difference between the A* algorithm and Dijkstra’s algorithm.
b) The following graph (network) shows how long it takes (in seconds) to walk between ten hotels in a city.
i) Using Dijkstra’s algorithm, show the shortest time to walk from the City Hotel (C) to the Quality Hotel (Q).
ii) Give the route corresponding to your answer in part b) i).
Transcribed Image Text:
City Hotel 140 Valencia Hotel 85 310 Adelphi Hotel (A 160 230 70 H Hilton Hotel 90 Sandy's Hotel 130 110 110 Bellini Hotel (B 105 M) Metropolitan Hotel 110 260 160 Newark Hotel (N 160 90 Q) Quality Hotel 130 Luxury Hotel OL
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (4 reviews)
INTRODUCTION Movement from one location to the next has been a routine in peoples daily lives People have to take shortest routes to get to work quickly to save on time Buses and Airplanes have to use ...View the full answer
Answered By
Hemstone Ouma
"Hi there! My name is Hemstone Ouma and I am a computer scientist with a strong background in hands-on experience skills such as programming, sofware development and testing to name just a few. I have a degree in computer science from Dedan Kimathi University of Technology and a Masters degree from the University of Nairobi in Business Education. I have spent the past 6 years working in the field, gaining a wide range of skills and knowledge. In my current role as a programmer, I have had the opportunity to work on a variety of projects and have developed a strong understanding of several programming languages such as python, java, C++, C# and Javascript.
In addition to my professional experience, I also have a passion for teaching and helping others to learn. I have experience as a tutor, both in a formal setting and on a one-on-one basis, and have a proven track record of helping students to succeed. I believe that with the right guidance and support, anyone can learn and excel in computer science.
I am excited to bring my skills and experience to a new opportunity and am always looking for ways to make an impact and grow as a professional. I am confident that my hands-on experience as a computer scientist and tutor make me a strong candidate for any role and I am excited to see where my career will take me next.
5.00+
8+ Reviews
23+ Question Solved
Related Book For
Cambridge International AS & A Level Computer Science
ISBN: 9781510457591
1st Edition
Authors: David Watson, Helen Williams
Question Posted:
Students also viewed these Computer science questions
-
A company is investigating how long it takes its drivers to deliver goods from its factory to a nearby port for export. Records reveal that with a standard specified driving route, the last n = 48...
-
Explain the difference between value-added time and nonvalue-added time.
-
In your own words, explain the difference between a trigonometric equation and a trigonometric identity.
-
You have the following information on two bonds Bond 1 Bond 1 Type Coupon Zero Coupon Term (Yrs) 3 3 Payment Frequency Annual Annual Face Amount ($) $25,000 $25,000 Coupon (%) 6% NA a. Calculate the...
-
Do you try to pad an insurance claim to cover your deductible? About 40% of all U.S. adults will try to pad their insurance claims! Suppose that you are the director of an insurance adjustment...
-
Describe the purpose of (a) IBM, and (b) One of your favorite companies.
-
6. In its 2016 financial statements, if Gum is organized on an industry basis, it should disclose foreign operations data on a specific country if revenues from that countrys operations are at least:...
-
On April 22, 2016, Sandstone Enterprises purchased equipment for $129,200. The company expects to use the equipment for 12,000 working hours during its four-year life and that it will have a residual...
-
On January 1, 2019, Cayce Corporation acquired 100 percent of Simbel Company for consideration transferred with a fair value of $133,200. Cayce is a U.S.-based company headquartered in Buffalo, New...
-
This is a new manufacturing corporation that issued $50000 common stock for cash on the first day. All overhead expenses are paid immediately by cash. To make it easy, there are no other operating...
-
Copy and complete the text, using words from the box. Words may be used once, more than once, or not at all. actual output machine learning reinforcement learning back propagation minimised removed...
-
The following graph is made up of a (9 8) matrix. Use the A* algorithm to show the shortest route from A to B. 1 2 3 4 5 6 7 8 9 starting point 'A' 3 4 5 6 7 finishing point 'B' 8
-
To what extent do team members believe in each other's abilities and competence? believe in each other's inclinations and intentions? believe in each other's integrity? get along with each other?...
-
Jasmine Minoza, the chief information officer of a Canada- based designer of video games, Adventure Gaming, Inc. (AGI), is considering outsourcing her companys software development activities to...
-
The input to the circuit of Fig. 5-23 with RC = 1 is v 1 = sin t. Write KCL at node B and solve for v 2 . +1 VI R B A + C D 3+ 10-41. 12
-
Draw an angle of 120. First draw a straight line about 6cm long. Place the protractor on the line so that the central cross hair is on one of the end points of the line. Make sure the line lines up...
-
Draw a seriesparallel switch circuit that implements the function f(x, y, z) = 1 if inputs xyz represent either 1 or a prime number in binary (xyz = 001, 010, 011, 101, 111).
-
A parallel-plate capacitor connected to a battery maintaining a potential difference \(V\) across the capacitor initially stores electric potential energy \(U_{1}^{E}\). If the plate area is doubled...
-
Kingston Company uses the dollar-value LIFO method of computing inventory. An external price index is used to convert ending inventory to base year. The company began operations on January 1, 2021,...
-
After graduating from college and working a few years at a small technology firm. Preet scored a high-level job in the logistics department at Amex Corporation. Amex sells high-quality electronic...
-
Al says he can prove that all sheep in a flock are the same color: Base case: One sheep. It is clearly the same color as itself. Induction step: A flock of n sheep. Take a sheep, a, out. The...
-
Alice has two circular queues,C and D, which can store integers. Bob givesAlice 50 odd integers and 50 even integers and insists that she stores all 100 integers in C and D. They then play a game...
-
Suppose Bob has four cows that he wants to take across a bridge, but only one yoke, which can hold up to two cows, side by side, tied to the yoke. The yoke is too heavy for him to carry across the...
-
Diplomatic Security Service provides Airport Transportation and Surveillance Service to Foreign Diplomats in Guyana. The company has two support departments - Information Systems and Equipment...
-
Q1: A disparity of bargaining power between the parties to a contract may result in unfair terms but a court is not likely to consider the contract unconscionable. Group of answer choices a. True b....
-
Life Tool Manufacturing has a system in place to recall products that prove to be dangerous at some time after manufacture and distribution. This represents which element of the due care theory?...
Study smarter with the SolutionInn App