NuGet v1.1.0 Release
The h(n) (orderby
clause) can now be omitted for some of the algorithms. If the h(n) (orderby
clause) is not given and TFactor
does not implement IComparable<TFactor>
interface, only g(n) will be used to compare. For algorithms that require orderby
clause, InvalidOperationException
will be thrown.
Algorithms that require h(n):
- Best-first Search
- Recursive Best-first Search
- Iterative Deepening A*
Algorithms that can work without h(n):
- A* (works as Dijkstra's algorithm if h(n) is not given)