Package | Description |
---|---|
net.junaraki.annobase | |
net.junaraki.annobase.type.element | |
net.junaraki.annobase.type.graph | |
net.junaraki.annobase.type.relation.element |
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyNode> |
AnnotationBase.getDependencyNodes() |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
DependencyNode.getChild(java.lang.String relationType)
Returns a child node if this dependency node has the given child dependency relation.
|
DependencyNode |
Token.getDependencyNode() |
DependencyNode |
DependencyNode.getHead(java.lang.String relationType)
Returns a head node if this dependency node has the given head dependency relation.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DependencyNode> |
DependencyNode.getChildren(java.lang.String relationType)
Returns child nodes if this dependency node has the given child dependency relation.
|
java.util.List<DependencyNode> |
DependencyNode.getHeads(java.lang.String relationType)
Returns head nodes if this dependency node has the given head dependency relation.
|
Modifier and Type | Method and Description |
---|---|
DependencyRelation |
DependencyNode.getChildRelation(DependencyNode childNode)
Returns a child relation if this dependency node has a child relation to the given node.
|
DependencyRelation |
DependencyNode.getHeadRelation(DependencyNode headNode)
Returns a head relation if this dependency node has a head relation to the given node.
|
boolean |
DependencyNode.hasChildRelation(DependencyNode node,
java.lang.String relationType)
Returns true if this dependency node has the given child dependency relation with the given
dependency node.
|
boolean |
DependencyNode.hasHeadRelation(DependencyNode node,
java.lang.String relationType)
Returns true if this dependency node has the given head dependency relation with the given
dependency node.
|
boolean |
DependencyNode.isAncestor(DependencyNode node)
Returns true if this node is an ancestor of the given node.
|
void |
Token.setDependencyNode(DependencyNode depNode) |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
DependencyGraph.getRoot() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<DependencyNode> |
DependencyGraph.getAdjacentVertices(DependencyNode depNode) |
java.util.List<DependencyNode> |
DependencyGraph.getDependencyPath(DependencyNode src,
DependencyNode dest)
Returns the shortest path from the given source node to the given destination node, using
Dijkstra's algorithm.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<DependencyNode> |
DependencyGraph.getAdjacentVertices(DependencyNode depNode) |
java.util.List<DependencyNode> |
DependencyGraph.getDependencyPath(DependencyNode src,
DependencyNode dest)
Returns the shortest path from the given source node to the given destination node, using
Dijkstra's algorithm.
|
java.lang.String |
DependencyGraph.getDependencyPathString(DependencyNode src,
DependencyNode dest)
Returns a string representing the shortest path from the given source node to the given
destination node, using Dijkstra's algorithm.
|
java.lang.String |
DependencyGraph.getDependencyPathString(DependencyNode src,
java.lang.String srcStr,
DependencyNode dest,
java.lang.String destStr)
Returns a string representing the shortest path from the given source node to the given
destination node, using Dijkstra's algorithm.
|
java.util.List<DependencyRelation> |
DependencyGraph.getDependencyRelationPath(DependencyNode src,
DependencyNode dest)
Returns the shortest path from the given source node to the given destination node, using
Dijkstra's algorithm.
|
java.util.Set<DependencyRelation> |
DependencyGraph.getEdges(DependencyNode depNode) |
void |
DependencyGraph.setRoot(DependencyNode root) |
Modifier and Type | Method and Description |
---|---|
DependencyNode |
DependencyRelation.getChild() |
DependencyNode |
DependencyRelation.getHead() |
Modifier and Type | Method and Description |
---|---|
void |
DependencyRelation.setChild(DependencyNode child) |
void |
DependencyRelation.setHead(DependencyNode head) |