public class DFA extends Object
Modifier and Type | Field and Description |
---|---|
int |
accepting |
int |
silent |
int |
start |
int[] |
transitions |
Constructor and Description |
---|
DFA(int start,
int accepting,
int silent,
int[] transitions) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(int s) |
static DFA |
from(NFA nfa) |
int |
next(int s,
byte b) |
boolean |
silent(int s) |
Copyright © 2019. All rights reserved.