|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectshortestPAlgorithms.JumpPointSearch
public class JumpPointSearch
Jump point search for finding shortest path between two points.
Constructor Summary | |
---|---|
JumpPointSearch()
|
Method Summary | |
---|---|
Stack |
get_shortest_path(int s_x,
int s_y,
int t_x,
int t_y,
int[][] grid)
Shortest path between two points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JumpPointSearch()
Method Detail |
---|
public Stack get_shortest_path(int s_x, int s_y, int t_x, int t_y, int[][] grid)
s_x
- start x coordinates_y
- start y coordinatet_x
- target x coordinatet_y
- target y coordinategrid
- integer array representation of map. 0 is a node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |