C# 클래스 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
파일 보기 프로젝트 열기: Rydra/HierarchicalPathfinder 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
F int
G int
H int
Parent int
Status CellStatus

공개 메소드들

메소드 설명
AStarNode ( int parent, int g, int h, CellStatus status ) : System

메소드 상세

AStarNode() 공개 메소드

public AStarNode ( int parent, int g, int h, CellStatus status ) : System
parent int
g int
h int
status CellStatus
리턴 System

프로퍼티 상세

F 공개적으로 프로퍼티

public int F
리턴 int

G 공개적으로 프로퍼티

public int G
리턴 int

H 공개적으로 프로퍼티

public int H
리턴 int

Parent 공개적으로 프로퍼티

public int Parent
리턴 int

Status 공개적으로 프로퍼티

public CellStatus Status
리턴 CellStatus