Question

Which data structure is typically implemented in the A* Algorithm?

Which data structure is typically implemented in the A* Algorithm?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

An A* algorithm is a search algorithm which is mainly used for calculating the shortest path between the nodes ina graph .It is graph traversal algorithm used for calculating the shortest path between the edges .

The A Star Search algorithm is diiferent from other traversal algorithm it has “brains”. It is a smart algorithm which separates it from the other traversal algorithms.
It is worth saying that many video games , web-based applications and maps use this algorithm to calculate the shortest paths very efficiently .

Flow of A * algorithm :

A* is an search algorithm, for its best-first search, which means that it calculate and solve the problem by possible paths to the solution for the one that incurs the less cost (smallest distance travelled, short time, etc.), and among all these paths it considers the smallest that appear to lead most quickly to the solution. It is calculated in terms of weighted graphs: which starts from a node of a graph and it construct a tree of paths starting from that node with all possible combinations to expanding paths one step at a time, until one of its paths ends at the specified goal node.

Add a comment
Answer #2

     We can use any data structure to implement open list and closed list but for best performance, we use a set data structure of C++ STL (implemented as Red-Black Tree) and a Boolean hash table for a closed list. Also Graph.



answered by: hamdi Saif
Add a comment
Know the answer?
Add Answer to:
Which data structure is typically implemented in the A* Algorithm?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT