java.lang.Object
org.apache.lucene.util.automaton.NFARunAutomaton.DState
- All Implemented Interfaces:
Accountable
- Enclosing class:
NFARunAutomaton
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final int
private final boolean
private Transition
private final int[]
private int
private final Transition
private int[]
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
assignTransition
(int charClass, int dest) private void
boolean
int
hashCode()
private void
private int
nextState
(int charClass) long
Return the memory usage of this object in bytes.private NFARunAutomaton.DState
step
(int c) given a list of NFA states and a character c, compute the output list of NFA state which is wrapped as a DFA stateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources
-
Field Details
-
nfaStates
private final int[] nfaStates -
transitions
private int[] transitions -
hashCode
private final int hashCode -
isAccept
private final boolean isAccept -
stepTransition
-
minimalTransition
-
computedTransitions
private int computedTransitions -
outgoingTransitions
private int outgoingTransitions
-
-
Constructor Details
-
DState
private DState(int[] nfaStates)
-
-
Method Details
-
nextState
private int nextState(int charClass) -
assignTransition
private void assignTransition(int charClass, int dest) -
step
given a list of NFA states and a character c, compute the output list of NFA state which is wrapped as a DFA state -
determinize
private void determinize() -
initTransitions
private void initTransitions() -
hashCode
public int hashCode() -
equals
-
ramBytesUsed
public long ramBytesUsed()Description copied from interface:Accountable
Return the memory usage of this object in bytes. Negative values are illegal.- Specified by:
ramBytesUsed
in interfaceAccountable
-