Search Results for

    Show / Hide Table of Contents

    Interface IBordersExtraction

    An algorithm extracting borders from the given text.

    Namespace: MoreStructures.KnuthMorrisPratt.Borders
    Assembly: MoreStructures.dll
    Syntax
    public interface IBordersExtraction
    Remarks

    DEFINITION
    A border of a text T of a prefix of T which is also a suffix of T, T excluded.
    For example, the borders of T = "abcabeabcab" are "a", "ab" and "abcab".

    Methods

    | Improve this Doc View Source

    GetAllBordersByDescLength(String)

    Retrieves all borders from the provided text, by decreasing length.

    Declaration
    IEnumerable<string> GetAllBordersByDescLength(string text)
    Parameters
    Type Name Description
    System.String text

    The text, to extract borders from.

    Returns
    Type Description
    IEnumerable<System.String>

    An enumerable of strings.

    Extension Methods

    SuffixStructureNodeExtensions.GetAllSuffixesFor<TEdge, TNode>(TNode, TextWithTerminator)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX