- All Known Implementing Classes:
AStar
public interface Pathfinder<NodeId>
Common interface for pathfinding.
- Author:
- Naraenda
-
Method Summary
Finds a path in a navigatable environment.
-
Method Details
-
findPath
Finds a path in a navigatable environment.
- Parameters:
graph
- : The environment to find a path in.
start
- : The starting position of the pathfinder.
goal
- : The goal of the pathfinder.
- Returns:
- An arraylist with the path. Null if no path is found.