the A* Search and give an example.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Describe the A* Search and give an example.

 
Expert Solution
Step 1

what is A* search algorithm?
A* search algorithm is one of the first-rate and popular technique utilized in path-locating and graph traversals.

Why A* search set of rules?
Informally speakme, A* search algorithms, not like different traversal techniques, it has “brains”. What it manner is that it's far certainly a smart algorithm which separates it from the opposite traditional algorithms. This fact is cleared in element in under sections.
And it is also well worth bringing up that many video games and net-based totally maps use this set of rules to find the shortest direction very efficaciously (approximation).


explanation
remember a rectangular grid having many boundaries and we are given a beginning cell and a target cellular. We want to reach the target cellular (if feasible) from the beginning cell as fast as viableright here A* search set of rules comes to the rescue.
What A* seek set of rules does is that at every step it alternatives the node in keeping with a price-‘f’ that's a parameter same to the sum of two other parameters – ‘g’ and ‘h’. At each step it selections the node/mobile having the lowest ‘f’, and technique that node/cellular.
We define ‘g’ and ‘h’ as definitely as possible below
g = the movement price to transport from the starting point to a given square on the grid, following the course generated to get there.
h = the predicted movement price to transport from that given square at the grid to the very last vacation spotthat is often known as the heuristic, which is nothing however a type of clever bet. We certainly don’t know the real distance until we find the pathdue to the fact all types of things can be in the way (partitions, water, etc.). There can be many methods to calculate this ‘h’ which are mentioned in the later sections.

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education