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

All Known Implementing Classes:
BaseGraphCopyBuilder, CompoundGraphCopyBuilder

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


Method Summary
 ISubCompoundGraph<N,E> getCopiedComponents()
          Gets the copied nodes and edges that were created in the destination graph as a subgraph of the destination graph.
 IChildCompoundGraph<N,E> getDestinationChildGraph()
           
 ISubCompoundGraph<N,E> getSourceSubgraph()
           
 void makeCopy()
          Make a copy of subgraph into the destination graph
 void setDestinatChildCompoundGraph(IChildCompoundGraph<? extends N,? extends E> childCompoundGraph)
          Sets the child compound graph that is to be copied to.
 void setSourceSubgraph(ISubCompoundGraph<? extends N,? extends E> sourceSubCompoundGraph)
          Sets the subgraph which is to be copied.
 

Method Detail

getSourceSubgraph

ISubCompoundGraph<N,E> getSourceSubgraph()

getDestinationChildGraph

IChildCompoundGraph<N,E> getDestinationChildGraph()

setSourceSubgraph

void setSourceSubgraph(ISubCompoundGraph<? extends N,? extends E> sourceSubCompoundGraph)
Sets the subgraph which is to be copied.

Parameters:
sourceSubCompoundGraph -

setDestinatChildCompoundGraph

void setDestinatChildCompoundGraph(IChildCompoundGraph<? extends N,? extends E> childCompoundGraph)
Sets the child compound graph that is to be copied to.

Parameters:
childCompoundGraph -

makeCopy

void makeCopy()
Make a copy of subgraph into the destination graph


getCopiedComponents

ISubCompoundGraph<N,E> getCopiedComponents()
Gets the copied nodes and edges that were created in the destination graph as a subgraph of the destination graph.

Returns:
The subgraph of copied nodes, which will be empty of no nodes are copied.