This repository has been archived by the owner on Apr 26, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
search: remove BreadthFirstSearch and DepthFirstSearch
Both of these are easily implemented on top of the graph traversal primitives in traverse. Also: 1. BreadthFirstSearch here is built on AStar, which is a particularly heavy way to do this. 2. DepthFirstSearch here returns a path. Given the nature of the traversal this is almost always going to be not the path the client wants, so we should not deceive.
- Loading branch information
Showing
2 changed files
with
0 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters