cz.cuni.amis.utils.astar
Class Test04_AStar.Maze
java.lang.Object
cz.cuni.amis.utils.astar.Test04_AStar.Maze
- All Implemented Interfaces:
- AStarMap<Test04_AStar.MazeNode>
- Enclosing class:
- Test04_AStar
public static class Test04_AStar.Maze
- extends Object
- implements AStarMap<Test04_AStar.MazeNode>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maze
public boolean[][] maze
nodes
public Test04_AStar.MazeNode[][] nodes
Test04_AStar.Maze
public Test04_AStar.Maze(String pathToResource)
getEdgeCost
public int getEdgeCost(Test04_AStar.MazeNode nodeFrom,
Test04_AStar.MazeNode nodeTo)
- Specified by:
getEdgeCost
in interface AStarMap<Test04_AStar.MazeNode>
getNodeNeighbours
public Collection<Test04_AStar.MazeNode> getNodeNeighbours(Test04_AStar.MazeNode node)
- Specified by:
getNodeNeighbours
in interface AStarMap<Test04_AStar.MazeNode>
getRGB
public int getRGB(int r,
int g,
int b)
output
public void output(AStarResult<Test04_AStar.MazeNode> result,
int number)
getNodeCost
public int getNodeCost(Test04_AStar.MazeNode node)
- Specified by:
getNodeCost
in interface AStarMap<Test04_AStar.MazeNode>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.