public interface DirectedGraph<N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>> extends DirectedGraphElement, java.lang.Comparable<DirectedGraph<N,E>>
Modifier and Type | Method and Description |
---|---|
java.util.Set<E> |
getEdges() |
java.util.Collection<E> |
getInEdges(DirectedGraphNode node) |
java.util.Set<N> |
getNodes() |
java.util.Collection<E> |
getOutEdges(DirectedGraphNode node) |
void |
removeEdge(DirectedGraphEdge edge)
Removes the given edge from the graph.
|
void |
removeNode(DirectedGraphNode cell) |
equals, getGraph, getLabel, hashCode
getAttributeMap
java.util.Set<N> getNodes()
java.util.Set<E> getEdges()
java.util.Collection<E> getInEdges(DirectedGraphNode node)
java.util.Collection<E> getOutEdges(DirectedGraphNode node)
void removeEdge(DirectedGraphEdge edge)
edge
- void removeNode(DirectedGraphNode cell)