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

All Known Implementing Classes:
BaseSubCompoundGraphBuilder, SubCompoundGraphBuilder

public interface ISubCompoundGraphBuilder<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>


Method Summary
 void addIncidentEdges()
           
 void buildSubgraph()
           
 void expandChildNodes()
           
 ICompoundGraph<N,E> getGraph()
           
 ISubCompoundGraph<N,E> getSubgraph()
          Retrieve the created subgraph.
 void setEdgeList(java.util.Set<? extends E> edgeList)
           
 void setNodeList(java.util.Set<? extends N> nodeList)
           
 

Method Detail

getGraph

ICompoundGraph<N,E> getGraph()

setNodeList

void setNodeList(java.util.Set<? extends N> nodeList)

setEdgeList

void setEdgeList(java.util.Set<? extends E> edgeList)

expandChildNodes

void expandChildNodes()

addIncidentEdges

void addIncidentEdges()

buildSubgraph

void buildSubgraph()

getSubgraph

ISubCompoundGraph<N,E> getSubgraph()
Retrieve the created subgraph. If the subgraph has not been build then this method will fail.

Returns:
The created subgraph, cannot be null.
Throws:
java.lang.IllegalStateException - if the subgraph has not been created by a call to buildSubgraph.