|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.string.grammar.operations.GrammarAsDirectedGraph
public class GrammarAsDirectedGraph
Directed graph facade for grammars.
Constructor Summary | |
---|---|
GrammarAsDirectedGraph(Grammar g)
Constructs a new facade. |
Method Summary | |
---|---|
List<Nonterminal> |
getNodes()
Returns the (unmodifiable) list of nodes of this graph. |
List<Collection<Nonterminal>> |
getSuccesors()
Returns a collection of successor nodes for each node. |
Component |
makeComponent()
Makes a new empty component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrammarAsDirectedGraph(Grammar g)
g
- Method Detail |
---|
public List<Nonterminal> getNodes()
DirectedGraph
getNodes
in interface DirectedGraph<Nonterminal,Component>
public List<Collection<Nonterminal>> getSuccesors()
DirectedGraph
getSuccesors
in interface DirectedGraph<Nonterminal,Component>
public Component makeComponent()
DirectedGraph
makeComponent
in interface DirectedGraph<Nonterminal,Component>
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |