![]() |
GrammarScope
4.0.0
|


Classes | |
| interface | IGraphEdge |
| interface | IGraphNode |
Public Member Functions | |
| Graph () | |
| List< N > | getNodes () |
| HashSet< E > | getEdges () |
| N | getNode (final int i) |
| String | toString () |
| String | toLongString () |
Protected Member Functions | |
| Graph (final List< N > nodes, final HashSet< E > edges) | |
Protected Attributes | |
| final List< N > | nodes |
| final HashSet< E > | edges |
Static Private Attributes | |
| static final long | serialVersionUID = -123649761887510771L |
Graph artifact
| <N> | node type |
| <E> | edge type |
| grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.Graph | ( | ) |
Constructor
|
protected |
Constructor
| nodes | nodes |
| edges | edges |
| HashSet<E> grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.getEdges | ( | ) |
Get edges
| N grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.getNode | ( | final int | i | ) |
Get ith node
| i | node index |
| List<N> grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.getNodes | ( | ) |
Get nodes
| String grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.toLongString | ( | ) |
Get long string
| String grammarscope.artifacts.Graph< N extends Graph.IGraphNode< E, E extends Graph.IGraphEdge< N >.toString | ( | ) |
|
protected |
Edges
|
protected |
Nodes
|
staticprivate |
1.8.17