Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# step cost
# heuristic cost
""" Initialize AStarNode class
@type graph: Map @param graph: Map that moves can be made on @type move: Move @param move: Move that resulted in the above graph @type parent: AStarNode @param parent: Parent node of this. Contains previous moves to get the current board. @type g: number @param g: Step cost for this node @type h: number @param h: Heuristic cost for this node """
""" Cost for this node.
@rtype: number @return: The cost to get to this state """ |