Can the A star algorithm implemented using HashMaps instead of ArrayLists?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First of all, A star is not related to any specific data structure. I implemented it using an Array list and Sorted List( for storing the open nodes in sorted order). You can implement it according to your need