public interface MutableEdgeModel extends EdgeModel
Modifier and Type | Method and Description |
---|---|
boolean |
acceptHead(Object edge,
Object head)
Return whether or not the given node is a valid
head of this edge.
|
boolean |
acceptTail(Object edge,
Object tail)
Return whether or not the given node is a valid
tail of this edge.
|
void |
setHead(Object edge,
Object head)
Set the node that this edge points to.
|
void |
setTail(Object edge,
Object tail)
Set the node that this edge stems from.
|
getHead, getTail, isDirected
boolean acceptHead(Object edge, Object head)
boolean acceptTail(Object edge, Object tail)
void setHead(Object edge, Object head)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.