Package | Description |
---|---|
de.up.ling.irtg.algebra.graph |
The algebra of s-graphs, together with supporting classes.
|
de.up.ling.irtg.codec.isiamr |
Contains the import codec for graphs in the AMR bank format (see amr.isi.edu),
as well as supporting classes.
|
Modifier and Type | Method and Description |
---|---|
GraphNode |
SGraph.addAnonymousNode(String label)
Adds an "anonymous" node with the given label to the s-graph.
|
GraphNode |
SGraph.addNode(String name,
String label)
Adds a node with the given name and label to the s-graph.
|
GraphNode |
SGraph.getNode(String name)
Returns the node in this s-graph with the given name.
|
GraphNode |
GraphEdge.getSource() |
GraphNode |
GraphEdge.getTarget() |
Modifier and Type | Method and Description |
---|---|
org.jgrapht.DirectedGraph<GraphNode,GraphEdge> |
SGraph.getGraph()
Returns the graph underlying this s-graph.
|
Modifier and Type | Method and Description |
---|---|
GraphEdge |
SGraph.addEdge(GraphNode src,
GraphNode tgt,
String label)
Adds an edge with the given label between the two nodes to the s-graph.
|
GraphEdge |
GraphEdgeFactory.createEdge(GraphNode v,
GraphNode v1) |
Modifier and Type | Method and Description |
---|---|
boolean |
SGraph.containsAsSubgraph(org.jgrapht.DirectedGraph<GraphNode,GraphEdge> subgraph,
Map<String,String> nodeRenaming)
Checks whether the s-graph contains the given graph as a sub-graph.
|
static String |
SGraph.graphToString(org.jgrapht.DirectedGraph<GraphNode,GraphEdge> graph)
Returns a string representation of the graph.
|
Constructor and Description |
---|
GraphEdge(GraphNode source,
GraphNode target) |
Modifier and Type | Method and Description |
---|---|
GraphNode |
IsiAmrParser.node() |
Copyright © 2017. All rights reserved.