Interface ISnssFinder
Any algorithm finding the Shortest Non-shared Substring (Snss) between two strings.
Namespace: MoreStructures.SuffixStructures.Matching
Assembly: MoreStructures.dll
Syntax
public interface ISnssFinder
Methods
| Improve this Doc View SourceFind(IEnumerable<Char>, IEnumerable<Char>)
Returns any substring of text1
which is not present in text2
and has
minimal length. Returns null if there is no substring of text1
which is
not a substring of text2
, i.e. if the two string coincide.
Declaration
IEnumerable<string> Find(IEnumerable<char> text1, IEnumerable<char> text2)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<System.Char> | text1 | The sequence of chars of the first text. |
IEnumerable<System.Char> | text2 | The sequence of chars of the second text. |
Returns
Type | Description |
---|---|
IEnumerable<System.String> | A sequence of strings, each being a substring of |