Method ShortestPaths
ShortestPaths<T>(FST<T>, FST.Arc<T>, T, IComparer<T>, Int32, Boolean)
Starting from node, find the top N min cost
completions to a final node.
Declaration
public static Util.TopResults<T> ShortestPaths<T>(FST<T> fst, FST.Arc<T> fromNode, T startOutput, IComparer<T> comparer, int topN, bool allowEmptyString)
Parameters
Type |
Name |
Description |
FST<T> |
fst |
|
FST.Arc<T> |
fromNode |
|
T |
startOutput |
|
IComparer<T> |
comparer |
|
System.Int32 |
topN |
|
System.Boolean |
allowEmptyString |
|
Returns
Type Parameters