uk.ed.inf.graph.compound
Interface ISubCompoundGraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>

All Superinterfaces:
IBasicGraph<N,E>, IBasicSubgraph<N,E>, IDirectedGraph<N,E>, IDirectedSubgraph<N,E>
All Known Implementing Classes:
BaseSubCompoundGraph, SubCompoundGraph

public interface ISubCompoundGraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
extends IDirectedSubgraph<N,E>


Method Summary
 boolean containsRoot()
           
 E getEdge(int edgeIdx)
          Get the edge with this index.
 N getNode(int nodeIdx)
          Get the node matching the nodeIdx.
 int getNumTopNodes()
           
 ICompoundGraph<N,E> getSuperGraph()
           
 java.util.Iterator<N> topNodeIterator()
           
 
Methods inherited from interface uk.ed.inf.graph.basic.IBasicSubgraph
isConsistentSnapShot, isInducedSubgraph
 
Methods inherited from interface uk.ed.inf.graph.directed.IDirectedGraph
containsDirectedEdge, containsDirectedEdge
 
Methods inherited from interface uk.ed.inf.graph.basic.IBasicGraph
containsConnection, containsConnection, containsEdge, containsEdge, containsNode, containsNode, edgeIterator, getNumEdges, getNumNodes, nodeIterator
 

Method Detail

getSuperGraph

ICompoundGraph<N,E> getSuperGraph()
Specified by:
getSuperGraph in interface IBasicSubgraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>

getNode

N getNode(int nodeIdx)
Description copied from interface: IBasicGraph
Get the node matching the nodeIdx.

Specified by:
getNode in interface IBasicGraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
Parameters:
nodeIdx - the node index to lookup.
Returns:
the node matching the index. Cannot be null.

getEdge

E getEdge(int edgeIdx)
Description copied from interface: IBasicGraph
Get the edge with this index.

Specified by:
getEdge in interface IBasicGraph<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
Parameters:
edgeIdx - The index of the edge.
Returns:
The edge matching the index.

getNumTopNodes

int getNumTopNodes()

topNodeIterator

java.util.Iterator<N> topNodeIterator()

containsRoot

boolean containsRoot()