Gets the heuristic value between two nodes used in A* algorithm

Namespace:  Hilva.AI.Graphs
Assembly:  Hilva (in Hilva.dll)

Syntax

C#
float GetHeuristicValue(
	int currentIndex,
	int endIndex
)

Parameters

currentIndex
Type: System..::.Int32
Index to the current node
endIndex
Type: System..::.Int32
Index to the end/target node

Return Value

A heuristic value between the two nodes

See Also