Package jflex.dfa
Class DeprecatedDfa
java.lang.Object
jflex.dfa.DFA
jflex.dfa.DeprecatedDfa
Deprecated.
Deprecated DFA class, only used for testing.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecatedDfa
(int numEntryStates, int numInputs, int numLexStates, int numStates) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeprecatedDfa
Deprecated.boolean[][]
Deprecated.(package private) void
printTable
(boolean[][] equiv) Deprecated.Prints the equivalence table.Methods inherited from class jflex.dfa.DFA
action, addTransition, checkActions, entryState, equals, hashCode, isFinal, isMinimized, lookaheadUsed, minimize, numInput, numLexStates, numStates, setAction, setEntryState, setFinal, table, toString, toString, writeDot
-
Constructor Details
-
DeprecatedDfa
DeprecatedDfa(int numEntryStates, int numInputs, int numLexStates, int numStates) Deprecated.
-
-
Method Details
-
old_minimize
Deprecated.UseDFA.minimize()
instead.Much simpler, but slower and less memory efficient minimization algorithm thanDFA.minimize()
.This implementation is only useful for testing.
- Returns:
- the equivalence relation on states.
-
printTable
void printTable(boolean[][] equiv) Deprecated.Prints the equivalence table.- Parameters:
equiv
- Equivalence table fromold_minimize()
-
copyOf
Deprecated.
-
DFA.minimize()
instead.