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

All Known Implementing Classes:
BaseGraphMoveBuilder, CompoundGraphMoveBuilder

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


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

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 moved.

Parameters:
sourceSubCompoundGraph -

setDestinatChildCompoundGraph

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

Parameters:
childCompoundGraph -

makeMove

void makeMove()
Make a move of subgraph into the destination graph


getMovedComponents

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

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