Click or drag to resize
IAStarNode Interface
Node used for the A* pathfinding algorithm.

Namespace: Slash.AI.Pathfinding
Assembly: Slash.AI.Pathfinding (in Slash.AI.Pathfinding.dll) Version: 1.0.6018.40189
Syntax
public interface IAStarNode : IGraphVertex

The IAStarNode type exposes the following members.

Properties
  NameDescription
Public propertyDiscovered
Whether this node has already been discovered and added to the open list, or not.
Public propertyF
F score of this node, computed by adding G and H.
Public propertyG
G score of this node, telling the movement cost needed for travelling from the starting node to this one.
Public propertyH
H score of this node, telling the estimated movement cost needed for travelling from this node to the finish.
Public propertyParentNode
Previous node on the path to the finish.
Public propertyVisited
Whether this node has already been visited and moved to the closed list, or not.
Top
Methods
  NameDescription
Public methodEstimateHeuristicMovementCost
Returns the estimated, heuristic movement cost needed to get from this node to the specified other one.
Public methodReset
Resets this node, clearing its parent and visited status.
Top
See Also