Click or drag to resize

AStarz Properties

The AStarz type exposes the following members.

Properties
  NameDescription
Public propertyChoosenHeuristic
Gets/Sets the heuristic that AStar will use. It must be homogeneous to arc's cost.
Public propertyClosed
Use for debug in a 'step by step' mode only. Returns all the tracks found in the 'Closed' list of the algorithm at a given time. A track is a list of the nodes visited to come to the current node.
Public propertyDijkstraHeuristicBalance
This value must belong to [0; 1] and it determines the influence of the heuristic on the algorithm. If this influence value is set to 0, then the search will behave in accordance with the Dijkstra algorithm. If this value is set to 1, then the cost to come to the current node will not be used whereas only the heuristic will be taken into account.
Public propertyStatic memberEuclidianHeuristic
Heuristic based on the euclidian distance : Sqrt(Dx²+Dy²+Dz²)
Public propertyInitialized
To know if the search has been initialized.
Public propertyStatic memberManhattanHeuristic
Heuristic based on the manhattan distance : |Dx|+|Dy|+|Dz|
Public propertyStatic memberMaxAlongAxisHeuristic
Heuristic based on the maximum distance : Max(|Dx|, |Dy|, |Dz|)
Public propertyOpen
Use for debug in 'step by step' mode only. Returns all the tracks found in the 'Open' list of the algorithm at a given time. A track is a list of the nodes visited to come to the current node.
Public propertyPathByCoordinates
Gets the array of points representing the found path.
Public propertyPathByNodes
Gets the array of nodes representing the found path.
Public propertyPathFound
To know if a path has been found.
Public propertySearchEnded
To know if the search has ended.
Public propertySearchStarted
To know if the search has been started.
Public propertyStepCounter
Use for a 'step by step' search only. Gets the number of the current step. -1 if the search has not been initialized. 0 if it has not been started.
Top
See Also