Searchs for a path from the start node to the end node.

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

Syntax

C#
IEnumerable<int> Search(
	int start,
	int end,
	out int stepsUsed
)

Parameters

start
Type: System..::.Int32
Index of the start node.
end
Type: System..::.Int32
Index of the end node.
stepsUsed
Type: System..::.Int32 %
Number of steps used to find the path.

Return Value

Returns an array of node indices which represent a path from the start node to the end node.

See Also