uk.ed.inf.graph.compound.archetypal
Class ArchetypalChildCompoundGraph

java.lang.Object
  extended by uk.ed.inf.graph.compound.base.BaseChildCompoundGraph
      extended by uk.ed.inf.graph.compound.archetypal.ArchetypalChildCompoundGraph
All Implemented Interfaces:
IBasicGraph<BaseCompoundNode,BaseCompoundEdge>, IChildCompoundGraph<BaseCompoundNode,BaseCompoundEdge>, ICompoundGraph<BaseCompoundNode,BaseCompoundEdge>, IModifiableChildCompoundGraph<BaseCompoundNode,BaseCompoundEdge>, IDirectedGraph<BaseCompoundNode,BaseCompoundEdge>
Direct Known Subclasses:
ChildCompoundGraph

public abstract class ArchetypalChildCompoundGraph
extends BaseChildCompoundGraph


Constructor Summary
protected ArchetypalChildCompoundGraph(ArchetypalCompoundNode root, BaseGraphCopyBuilder copyBuilder, BaseGraphMoveBuilder moveBuilder)
           
 
Method Summary
protected  void addNewEdge(BaseCompoundEdge edge)
           
protected  void addNewNode(BaseCompoundNode node)
           
 ArchetypalCompoundNode getRootNode()
          Get the root node of this graph.
 
Methods inherited from class uk.ed.inf.graph.compound.base.BaseChildCompoundGraph
canCopyHere, canMoveHere, containsConnection, containsConnection, containsDirectedEdge, containsDirectedEdge, containsEdge, containsEdge, containsNode, containsNode, copyHere, createEdgeSet, createNodeSet, edgeFactory, edgeIterator, getCopiedComponents, getEdge, getEdgeSet, getMovedComponents, getNode, getNodeSet, getNumEdges, getNumNodes, getSuperGraph, hasPassedAdditionalValidation, isInducedSubgraph, isValid, moveHere, nodeFactory, nodeIterator, unfilteredEdgeIterator, unfilteredNodeIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchetypalChildCompoundGraph

protected ArchetypalChildCompoundGraph(ArchetypalCompoundNode root,
                                       BaseGraphCopyBuilder copyBuilder,
                                       BaseGraphMoveBuilder moveBuilder)
Method Detail

getRootNode

public ArchetypalCompoundNode getRootNode()
Description copied from interface: ICompoundGraph
Get the root node of this graph.

Specified by:
getRootNode in interface ICompoundGraph<BaseCompoundNode,BaseCompoundEdge>
Specified by:
getRootNode in class BaseChildCompoundGraph
Returns:
The root node, which cannot be null.

addNewNode

protected void addNewNode(BaseCompoundNode node)
Overrides:
addNewNode in class BaseChildCompoundGraph

addNewEdge

protected void addNewEdge(BaseCompoundEdge edge)
Overrides:
addNewEdge in class BaseChildCompoundGraph