Fork me on GitHub
  • API

    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
    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: Lucene.Net.Util.Fst
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class UnCompiledNode<S> : 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 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.