Class RunAutomaton
Finite-state automaton with fast run operation.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class RunAutomaton : object
Constructors
Name | Description |
---|---|
RunAutomaton(Automaton, Int32, Boolean) | Constructs a new RunAutomaton from a deterministic Automaton. |
Fields
Name | Description |
---|---|
m_accept | |
m_initial | |
m_transitions |
Properties
Name | Description |
---|---|
Count | Returns number of states in automaton. NOTE: This was size() in Lucene. |
InitialState | Returns initial state. |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetCharIntervals() | Returns array of codepoint class interval start points. The array should not be modified by the caller. |
GetHashCode() | |
IsAccept(Int32) | Returns acceptance status for given state. |
Step(Int32, Int32) | Returns the state obtained by reading the given char from the given state. Returns -1 if not obtaining any such state. (If the original Automaton had no dead states, -1 is returned here if and only if a dead state is entered in an equivalent automaton with a total transition function.) |
ToString() | Returns a string representation of this automaton. |