cz.cuni.amis.utils.astar
Class Test04_AStar.Maze

Package class diagram package Test04_AStar.Maze
java.lang.Object
  extended by 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>


Field Summary
 boolean[][] maze
           
 Test04_AStar.MazeNode[][] nodes
           
 
Constructor Summary
Test04_AStar.Maze(String pathToResource)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maze

public boolean[][] maze

nodes

public Test04_AStar.MazeNode[][] nodes
Constructor Detail

Test04_AStar.Maze

public Test04_AStar.Maze(String pathToResource)
Method Detail

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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.