Method | Description | |
---|---|---|
AssertNoDetachedStates ( |
Checks that an automaton has no detached states that are unreachable from the initial state.
|
|
DeterminizeSimple ( |
Simple, original brics implementation of determinize()
|
|
DeterminizeSimple ( |
Simple, original brics implementation of determinize() Determinizes the given automaton using the given set of initial states.
|
|
IsFiniteSlow ( |
Returns true if the language of this automaton is finite. WARNING: this method is slow, it will blow up if the automaton is large. this is only used to test the correctness of our faster implementation.
|
|
MinimizeSimple ( |
Simple, original brics implementation of Brzozowski minimize()
|
|
RandomAutomaton ( |
return a random NFA/DFA for testing
|
|
RandomRegexp ( |
Returns random string, including full unicode range.
|
Method | Description | |
---|---|---|
GetRandomCodePoint ( |
picks a random int code point, avoiding surrogates; throws IllegalArgumentException if this transition only accepts surrogates
|
|
IsFiniteSlow ( State s, HashSet |
Checks whether there is a loop containing s. (this is sufficient since there are never transitions to dead states.)
|
|
RandomRegexpString ( |
public static AssertNoDetachedStates ( |
||
a | ||
return | void |
public static DeterminizeSimple ( |
||
a | ||
return | void |
public static DeterminizeSimple ( |
||
a | ||
initialset | ISet |
|
return | void |
public static IsFiniteSlow ( |
||
a | ||
return | bool |
public static MinimizeSimple ( |
||
a | ||
return | void |
public static RandomAutomaton ( |
||
random | ||
return |
public static RandomRegexp ( |
||
r | ||
return | string |