|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectNFA
InfoNFA
An extension of the class NFA in which the states carry an information which is an integer (used for LR analysis)..
| Field Summary | |
int[] |
info
|
int |
terminal
|
| Constructor Summary | |
InfoNFA(int n)
|
|
InfoNFA(int n,
Alphabet a)
Creates an NFA with n states
on the alphabet a. |
|
| Method Summary | |
InfoDFA |
toInfoDFA()
Implements the determinization algorithm. |
| Methods inherited from class NFA |
closure, closure, count, explore, explore2, main, next, toDFA, toDFA2, toDFA3, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int[] info
public int terminal
| Constructor Detail |
public InfoNFA(int n)
public InfoNFA(int n,
Alphabet a)
n states
on the alphabet a.
| Method Detail |
public InfoDFA toInfoDFA()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||