Hacker News new | past | comments | ask | show | jobs | submit login

A simple upgrade to your algorithm would be bidirectional search: https://en.wikipedia.org/wiki/Bidirectional_search

This image from Norvig's AI may help explain it better than the wiki page: http://www.massey.ac.nz/~a159302/lesson3/fig03_17.gif




That seems like an interesting alternative to BFS, thanks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: