uk.ed.inf.graph.undirected
Interface IUndirectedEdge<N extends IUndirectedNode<N,? extends IUndirectedEdge<N,?>>,E extends IUndirectedEdge<N,E>>
- All Superinterfaces:
- java.lang.Comparable<E>, IBasicEdge<N,E>
- All Known Implementing Classes:
- Edge
public interface IUndirectedEdge<N extends IUndirectedNode<N,? extends IUndirectedEdge<N,?>>,E extends IUndirectedEdge<N,E>>
- extends IBasicEdge<N,E>
Methods inherited from interface java.lang.Comparable |
compareTo |
getGraph
IUndirectedGraph<N,E> getGraph()
- Description copied from interface:
IBasicEdge
- Get the owning graph of this edge.
- Specified by:
getGraph
in interface IBasicEdge<N extends IUndirectedNode<N,? extends IUndirectedEdge<N,?>>,E extends IUndirectedEdge<N,E>>
- Returns:
- the owning graph.
getConnectedNodes
IUndirectedPair<N,E> getConnectedNodes()
- Description copied from interface:
IBasicEdge
- Get the ends of
- Specified by:
getConnectedNodes
in interface IBasicEdge<N extends IUndirectedNode<N,? extends IUndirectedEdge<N,?>>,E extends IUndirectedEdge<N,E>>
- Returns: