public interface EdgeTypeVertex<T extends EdgeTypeData> extends EdgeDataVertex<T>
Modifier and Type | Method and Description |
---|---|
EdgeType |
getEdgeType(EdgeTypeVertex<T> to)
Retrieve the type of the edge from the calling vertex to the vertex passed
as parameter.
|
void |
setEdgeType(EdgeTypeVertex<T> to,
EdgeType edgeType)
Set the type of the edge from the calling vertex to the vertex passed
as parameter
|
getEdgeData
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
void setEdgeType(EdgeTypeVertex<T> to, EdgeType edgeType)
to
- head of the edge for which to set the typeedgeType
- type to which to set the edge (TREE, BACK, FORWARD, CROSS, UNKNOWN)EdgeType getEdgeType(EdgeTypeVertex<T> to)
to
- head of the edge for which to retrieve the type