Class Builder.UnCompiledNode<S>
Expert: holds a pending (seen but not yet serialized) Node.
Inherited Members
Namespace: Lucene.Net.Util.Fst
Assembly: Lucene.Net.dll
Syntax
public sealed class Builder.UnCompiledNode<S> : Builder.INode where S : class
Type Parameters
Name | Description |
---|---|
S |
Constructors
UnCompiledNode(Builder<S>, int)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public UnCompiledNode(Builder<S> owner, int depth)
Parameters
Type | Name | Description |
---|---|---|
Builder<S> | owner | |
int | 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
Arcs
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public Builder.Arc<S>[] Arcs { get; set; }
Property Value
Type | Description |
---|---|
Arc<S>[] |
Depth
this node's depth, starting from the automaton root.
Declaration
public int Depth { get; }
Property Value
Type | Description |
---|---|
int |
InputCount
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public long InputCount { get; set; }
Property Value
Type | Description |
---|---|
long |
IsCompiled
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public bool IsCompiled { get; }
Property Value
Type | Description |
---|---|
bool |
IsFinal
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public bool IsFinal { get; set; }
Property Value
Type | Description |
---|---|
bool |
NumArcs
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public int NumArcs { get; set; }
Property Value
Type | Description |
---|---|
int |
Output
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public S Output { get; set; }
Property Value
Type | Description |
---|---|
S |
Methods
AddArc(int, INode)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void AddArc(int label, Builder.INode target)
Parameters
Type | Name | Description |
---|---|---|
int | label | |
Builder.INode | target |
Clear()
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void Clear()
DeleteLast(int, INode)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void DeleteLast(int label, Builder.INode target)
Parameters
Type | Name | Description |
---|---|---|
int | label | |
Builder.INode | target |
GetLastOutput(int)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public S GetLastOutput(int labelToMatch)
Parameters
Type | Name | Description |
---|---|---|
int | labelToMatch |
Returns
Type | Description |
---|---|
S |
PrependOutput(S)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void PrependOutput(S outputPrefix)
Parameters
Type | Name | Description |
---|---|---|
S | outputPrefix |
ReplaceLast(int, INode, S, bool)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void ReplaceLast(int labelToMatch, Builder.INode target, S nextFinalOutput, bool isFinal)
Parameters
Type | Name | Description |
---|---|---|
int | labelToMatch | |
Builder.INode | target | |
S | nextFinalOutput | |
bool | isFinal |
SetLastOutput(int, S)
Expert: holds a pending (seen but not yet serialized) Node.
Declaration
public void SetLastOutput(int labelToMatch, S newOutput)
Parameters
Type | Name | Description |
---|---|---|
int | labelToMatch | |
S | newOutput |