Method | Description | |
---|---|---|
AStarNode ( |
Constructor.
|
|
Calculate ( ) : void |
Calculates the estimated cost for the remaining trip to the goal.
|
|
CompareTo ( object obj ) : int | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
GetSuccessors ( |
Gets all successors nodes from the current node and adds them to the successor list
|
|
IsGoal ( ) : bool |
Determines whether the current node is the goal.
|
|
IsSameState ( AStarNode aNode ) : bool |
Determines whether the current node is the same state as the on passed.
|
public AStarNode ( |
||
aParent | The node's parent | |
aGoalNode | The goal node | |
aCost | double | The accumulative cost until now |
return | System |
public GetSuccessors ( |
||
aSuccessors | List in which the successors will be added | |
return | void |
public IsSameState ( AStarNode aNode ) : bool | ||
aNode | AStarNode | AStarNode to compare the current node to |
return | bool |