public static class Test04_AStar.Maze extends Object implements AStarMap<Test04_AStar.MazeNode>
| Modifier and Type | Field and Description |
|---|---|
boolean[][] |
maze |
Test04_AStar.MazeNode[][] |
nodes |
| Constructor and Description |
|---|
Test04_AStar.Maze(String pathToResource) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEdgeCost(Test04_AStar.MazeNode nodeFrom,
Test04_AStar.MazeNode nodeTo) |
int |
getNodeCost(Test04_AStar.MazeNode node) |
Collection<Test04_AStar.MazeNode> |
getNodeNeighbours(Test04_AStar.MazeNode node) |
int |
getRGB(int r,
int g,
int b) |
void |
output(AStarResult<Test04_AStar.MazeNode> result,
int number) |
public boolean[][] maze
public Test04_AStar.MazeNode[][] nodes
public Test04_AStar.Maze(String pathToResource)
public int getEdgeCost(Test04_AStar.MazeNode nodeFrom, Test04_AStar.MazeNode nodeTo)
getEdgeCost in interface AStarMap<Test04_AStar.MazeNode>public Collection<Test04_AStar.MazeNode> getNodeNeighbours(Test04_AStar.MazeNode node)
getNodeNeighbours in interface AStarMap<Test04_AStar.MazeNode>public int getRGB(int r,
int g,
int b)
public void output(AStarResult<Test04_AStar.MazeNode> result, int number)
public int getNodeCost(Test04_AStar.MazeNode node)
getNodeCost in interface AStarMap<Test04_AStar.MazeNode>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.