public interface Edge extends SemanticObjectContainer, PropertyContainer
Modifier and Type | Method and Description |
---|---|
boolean |
acceptHead(Node head)
Return whether or not the given node is a valid
head of this edge.
|
boolean |
acceptTail(Node tail)
Return whether or not the given node is a valid
tail of this edge.
|
Node |
getHead()
Return the node at the head of this edge.
|
Node |
getTail()
Return the node at the tail of this edge.
|
boolean |
isDirected()
Return whether or not this edge is directed.
|
void |
setHead(Node head)
Set the node that this edge points to.
|
void |
setTail(Node tail)
Set the node that this edge stems from.
|
getSemanticObject, setSemanticObject
getProperty, propertyNames, setProperty
boolean acceptHead(Node head)
boolean acceptTail(Node tail)
Node getHead()
Node getTail()
boolean isDirected()
void setHead(Node head)
void setTail(Node tail)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.