E - public static class FiniteAutomaton.State<E> extends Object
| Modifier and Type | Field and Description |
|---|---|
List<FiniteAutomaton.Edge<E>> |
edges |
List<FiniteAutomaton.Epsilon<E>> |
epsilons |
| Constructor and Description |
|---|
FiniteAutomaton.State() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(FiniteAutomaton.State<E> dest)
Add an epsilon transition between this state and dest.
|
void |
connect(FiniteAutomaton.State<E> dest,
Expression<E> cost)
Add an edge between this state and dest.
|
String |
toString() |
public final List<FiniteAutomaton.Edge<E>> edges
public final List<FiniteAutomaton.Epsilon<E>> epsilons
public void connect(FiniteAutomaton.State<E> dest)
dest - the state to connectpublic void connect(FiniteAutomaton.State<E> dest, Expression<E> cost)
dest - the state to connectcost - the expression of the edgeCopyright © 2010–2013 University of Washington CSE. All rights reserved.