zombie.ai.astar
Class SearchData

java.lang.Object
  extended by zombie.ai.astar.SearchData

public class SearchData
extends java.lang.Object

The path cost for this node


Field Summary
 float cost
           
 short depth
          The search depth of this node
 float heuristic
          The heuristic cost of this node
 AStarPathMap.Node parent
          The parent of this node, how we reached it in the search
 
Constructor Summary
SearchData()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cost

public float cost

depth

public short depth
The search depth of this node


heuristic

public float heuristic
The heuristic cost of this node


parent

public AStarPathMap.Node parent
The parent of this node, how we reached it in the search

Constructor Detail

SearchData

public SearchData()