Click or drag to resize
PathNode Class
Runtime data bucket for the A* algorithm.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CorePathNode

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public sealed class PathNode : IComparer<PathNode>, 
	IPriorityObject

The PathNode type exposes the following members.

Constructors
  NameDescription
Public methodPathNode
Initializes a new instance of the PathNode class.
Public methodPathNode(Point)
Initializes a new instance of the PathNode class.
Top
Methods
  NameDescription
Public methodCompare
Compares the given nodes by comparing their estimated path length, i.e. the F values.
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
Top
Properties
  NameDescription
Public propertyF
Gets the current path length which is an estimate since the remains of the path to the target is a estimated to be a straight line.
Public propertyG
Gets the actual lattice distance from the start to the current point in the search.
Public propertyH
Gets the so-called heuristic distance which is usually the Euclidean distance to the endpoint or goal. The smaller the value the closer to the goal.
Public propertyIsOpen
Gets or sets whether this node is part of the open set of not estimated nodes in the search.
Public propertyIsWall
Gets or sets whether this node is accessible as part of the path searching.
Public propertyPosition
Gets or sets the position in the lattice.
Public propertyPriority
Gets or sets the priority.
Top
Remarks
The F, H and G property names have been kept in accordance with the literature even though more appropriate names would help.
See Also