Catalano.Graph.Pathfinding
Interface ISearch
-
- All Known Implementing Classes:
- AStar
public interface ISearchInterface for graph search algorithms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.ArrayList<IntPoint>FindPath(int startX, int startY, int endX, int endY)Find path.java.util.ArrayList<IntPoint>FindPath(IntPoint start, IntPoint end)Find path.
-
-
-
Method Detail
-
FindPath
java.util.ArrayList<IntPoint> FindPath(int startX, int startY, int endX, int endY)
Find path.- Parameters:
startX- Start X axis coordinate.startY- Start Y axis coordinate.endX- End X axis coordinate.endY- End Y axis coordinate.- Returns:
- List of points that contains the path.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG