public interface ComparableNode extends Element, java.lang.Comparable<ComparableNode>
| Modifier and Type | Method and Description |
|---|---|
int |
getCompareToIndex()
Returns the index of the node (only used internal by compareTo).
|
java.util.SortedSet<Edge> |
getIncomingSecondaryEdges()
Returns a sorted set of incoming secondary edges.
|
int |
getInDegree()
Returns the in degree of the node (number of incoming edges of all types of edges).
|
int |
getIndex()
Returns the index of the node.
|
ComparableNode |
getLeftmostDescendant()
Returns the left-most terminal descendant node.
|
int |
getLeftmostDescendantIndex()
Returns the index of the left-most terminal descendant node.
|
ComparableNode |
getLeftmostProperDescendant()
Returns the left-most proper terminal descendant node (excluding itself).
|
int |
getLeftmostProperDescendantIndex()
Returns the index of the left-most proper terminal descendant node (excluding itself).
|
int |
getOutDegree()
Returns the out degree of the node (number of outgoing edges of all types of edges).
|
java.util.SortedSet<Edge> |
getOutgoingSecondaryEdges()
Returns a sorted set of outgoing secondary edges.
|
ComparableNode |
getRightmostDescendant()
Returns the right-most terminal descendant node.
|
int |
getRightmostDescendantIndex()
Returns the index of the right-most terminal descendant node.
|
ComparableNode |
getRightmostProperDescendant()
Returns the right-most proper terminal descendant node (excluding itself).
|
int |
getRightmostProperDescendantIndex()
Returns the index of the right-most proper terminal descendant node (excluding itself).
|
boolean |
isRoot()
Returns true if the node is a root node, otherwise false.
|
addLabel, addLabel, addLabel, clear, getBelongsToGraph, getLabelCode, getLabelSet, getLabelSymbol, getLabelTypes, hasLabel, isLabeled, nLabels, removeLabel, removeLabels, setBelongsToGraphint getIndex()
int getCompareToIndex()
boolean isRoot()
ComparableNode getLeftmostProperDescendant() throws MaltChainedException
MaltChainedExceptionComparableNode getRightmostProperDescendant() throws MaltChainedException
MaltChainedExceptionint getLeftmostProperDescendantIndex() throws MaltChainedException
MaltChainedExceptionint getRightmostProperDescendantIndex() throws MaltChainedException
MaltChainedExceptionComparableNode getLeftmostDescendant() throws MaltChainedException
MaltChainedExceptionComparableNode getRightmostDescendant() throws MaltChainedException
MaltChainedExceptionint getLeftmostDescendantIndex() throws MaltChainedException
MaltChainedExceptionint getRightmostDescendantIndex() throws MaltChainedException
MaltChainedExceptionint getInDegree()
int getOutDegree()
java.util.SortedSet<Edge> getIncomingSecondaryEdges() throws MaltChainedException
MaltChainedExceptionjava.util.SortedSet<Edge> getOutgoingSecondaryEdges() throws MaltChainedException
MaltChainedExceptionCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.