Show / Hide Table of Contents

    Class Builder.UnCompiledNode<S>

    Expert: holds a pending (seen but not yet serialized) Node.

    Inheritance
    System.Object
    Builder.UnCompiledNode<S>
    Implements
    Builder.INode
    Namespace: Lucene.Net.Util.Fst
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class UnCompiledNode<S> : object, Builder.INode
    Type Parameters
    Name Description
    S

    Constructors

    | Improve this Doc View Source

    UnCompiledNode(Builder<S>, Int32)

    Declaration
    public UnCompiledNode(Builder<S> owner, int depth)
    Parameters
    Type Name Description
    Builder<S> owner
    System.Int32 depth

    The node's depth starting from the automaton root. Needed for LUCENE-2934 (node expansion based on conditions other than the fanout size).

    Properties

    | Improve this Doc View Source

    Arcs

    Declaration
    public Builder.Arc<S>[] Arcs { get; set; }
    Property Value
    Type Description
    Builder.Arc<S>[]
    | Improve this Doc View Source

    Depth

    this node's depth, starting from the automaton root.

    Declaration
    public int Depth { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    InputCount

    Declaration
    public long InputCount { get; set; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    IsCompiled

    Declaration
    public bool IsCompiled { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsFinal

    Declaration
    public bool IsFinal { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NumArcs

    Declaration
    public int NumArcs { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Output

    Declaration
    public S Output { get; set; }
    Property Value
    Type Description
    S

    Methods

    | Improve this Doc View Source

    AddArc(Int32, Builder.INode)

    Declaration
    public void AddArc(int label, Builder.INode target)
    Parameters
    Type Name Description
    System.Int32 label
    Builder.INode target
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    DeleteLast(Int32, Builder.INode)

    Declaration
    public void DeleteLast(int label, Builder.INode target)
    Parameters
    Type Name Description
    System.Int32 label
    Builder.INode target
    | Improve this Doc View Source

    GetLastOutput(Int32)

    Declaration
    public S GetLastOutput(int labelToMatch)
    Parameters
    Type Name Description
    System.Int32 labelToMatch
    Returns
    Type Description
    S
    | Improve this Doc View Source

    PrependOutput(S)

    Declaration
    public void PrependOutput(S outputPrefix)
    Parameters
    Type Name Description
    S outputPrefix
    | Improve this Doc View Source

    ReplaceLast(Int32, Builder.INode, S, Boolean)

    Declaration
    public void ReplaceLast(int labelToMatch, Builder.INode target, S nextFinalOutput, bool isFinal)
    Parameters
    Type Name Description
    System.Int32 labelToMatch
    Builder.INode target
    S nextFinalOutput
    System.Boolean isFinal
    | Improve this Doc View Source

    SetLastOutput(Int32, S)

    Declaration
    public void SetLastOutput(int labelToMatch, S newOutput)
    Parameters
    Type Name Description
    System.Int32 labelToMatch
    S newOutput

    Implements

    Builder.INode
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)