Class SuffixStructureNodeExtensions
Extension methods for all ISuffixStructureNode<TEdge, TNode> node concretions.
Inheritance
System.Object
SuffixStructureNodeExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MoreStructures.SuffixStructures
Assembly: MoreStructures.dll
Syntax
public static class SuffixStructureNodeExtensions
Methods
| Improve this Doc View SourceGetAllSuffixesFor<TEdge, TNode>(TNode, TextWithTerminator)
Returns all suffixes for the provided text from the node down the ISuffixStructureNode<TEdge, TNode>, up to leaves.
Declaration
public static IEnumerable<IEnumerable<char>> GetAllSuffixesFor<TEdge, TNode>(this TNode node, TextWithTerminator text)
where TEdge : ISuffixStructureEdge<TEdge, TNode> where TNode : ISuffixStructureNode<TEdge, TNode>
Parameters
Type | Name | Description |
---|---|---|
TNode | node | The node, to start the structure traversal from. |
TextWithTerminator | text | The text with terminator, whose suffixes have to be extracted. |
Returns
Type | Description |
---|---|
IEnumerable<IEnumerable<System.Char>> | A sequence of IValueEnumerable<T>, each one being a suffix. |
Type Parameters
Name | Description |
---|---|
TEdge | |
TNode |