C# Class HPASharp.Search.AStarNode

An A* node embeds the status of a processed node, containing information like the cost it's taken to reach it (Cost So far, G), the expected cost to reach the goal (The heuristic, H), the parent where this node came from (which will serve later to reconstruct best paths) the current Status of the node (Open, Closed, Unexplored, see CellStatus documentation for more information) and the F-score that serves to compare which nodes are the best
Afficher le fichier Open project: Rydra/HierarchicalPathfinder Class Usage Examples

Méthodes publiques

Свойство Type Description
F int
G int
H int
Parent int
Status CellStatus

Méthodes publiques

Méthode Description
AStarNode ( int parent, int g, int h, CellStatus status ) : System

Method Details

AStarNode() public méthode

public AStarNode ( int parent, int g, int h, CellStatus status ) : System
parent int
g int
h int
status CellStatus
Résultat System

Property Details

F public_oe property

public int F
Résultat int

G public_oe property

public int G
Résultat int

H public_oe property

public int H
Résultat int

Parent public_oe property

public int Parent
Résultat int

Status public_oe property

public CellStatus Status
Résultat CellStatus