|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmorfologik.fsa.characters.StateUtils
public class StateUtils
Utilities that apply to States. Extracted to a separate class for
clarity.
| Constructor Summary | |
|---|---|
StateUtils()
|
|
| Method Summary | |
|---|---|
static FSAInfo |
getInfo(State s)
Calculate automaton statistics. |
static List<String> |
rightLanguage(State state)
All strings generated as the right language of state. |
static String |
toDot(State root)
Returns the right-language reachable from a given graph node, formatted as an input for the graphviz package (expressed in the dot
language). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateUtils()
| Method Detail |
|---|
public static String toDot(State root)
dot
language).
public static List<String> rightLanguage(State state)
state.
public static FSAInfo getInfo(State s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||