public class AutomatonAsGraph<S,I,T,A extends Automaton<S,I,T>> extends Object implements Graph<S,TransitionEdge<I,T>>
| Modifier and Type | Field and Description |
|---|---|
protected A |
automaton |
protected Collection<? extends I> |
inputAlphabet |
| Constructor and Description |
|---|
AutomatonAsGraph(A automaton,
Collection<? extends I> inputAlphabet) |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableMapping<S,V> |
createDynamicNodeMapping() |
<V> MutableMapping<S,V> |
createStaticNodeMapping() |
Collection<S> |
getNodes() |
Collection<TransitionEdge<I,T>> |
getOutgoingEdges(S node) |
S |
getTarget(TransitionEdge<I,T> edge) |
Iterator<S> |
iterator() |
NodeIDs<S> |
nodeIDs() |
int |
size() |
protected final Collection<? extends I> inputAlphabet
public AutomatonAsGraph(A automaton, Collection<? extends I> inputAlphabet)
public Collection<S> getNodes()
public Collection<TransitionEdge<I,T>> getOutgoingEdges(S node)
getOutgoingEdges in interface IndefiniteGraph<S,TransitionEdge<I,T>>public S getTarget(TransitionEdge<I,T> edge)
getTarget in interface IndefiniteGraph<S,TransitionEdge<I,T>>public <V> MutableMapping<S,V> createStaticNodeMapping()
createStaticNodeMapping in interface IndefiniteGraph<S,TransitionEdge<I,T>>public <V> MutableMapping<S,V> createDynamicNodeMapping()
createDynamicNodeMapping in interface IndefiniteGraph<S,TransitionEdge<I,T>>Copyright © 2013. All Rights Reserved.