I’m just trying to implement the best first search and I am not sure if there are any LIFO or FIFO properties for this algorithm. If so which one should I use? Do I need to use it?
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.
See http://en.wikipedia.org/wiki/Best-first_search#Algorithm_.5B3.5D for this pseudocode:
Step 1 says “remove the best node” – this implies the use of a Priority Queue.