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>


Method Summary
 IUndirectedPair<N,E> getConnectedNodes()
          Get the ends of
 IUndirectedGraph<N,E> getGraph()
          Get the owning graph of this edge.
 
Methods inherited from interface uk.ed.inf.graph.basic.IBasicEdge
getIndex, hasEnds, isRemoved, isSelfEdge
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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: