|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ed.inf.graph.compound.base.BaseCompoundGraph
uk.ed.inf.graph.compound.archetypal.ArchetypalCompoundGraph
uk.ed.inf.graph.compound.impl.CompoundGraph
public class CompoundGraph
Constructor Summary | |
---|---|
CompoundGraph()
|
|
CompoundGraph(CompoundGraph otherGraph)
|
Method Summary | |
---|---|
protected void |
createCopyOfRootNode(int newIndexValue,
BaseCompoundNode otherRootNode)
|
protected void |
createNewRootNode(int newIndex)
|
CompoundEdgeFactory |
edgeFactory()
Gets an edge factory that works out the LCA of two nodes making up the edge and assigns it to the appropriate compound graph. |
CompoundNode |
getRootNode()
Get the root node of this graph. |
protected boolean |
hasPassedAdditionalValidation()
A hook method that should be used to provide addition validation for the class inheriting from this one. |
CompoundNodeFactory |
nodeFactory()
Gets the node factory to add new nodes to the root child graph of this compound graph. |
SubCompoundGraphFactory |
subgraphFactory()
Gets a subgraph factory used to create a subgraph of this graph. |
Methods inherited from class uk.ed.inf.graph.compound.archetypal.ArchetypalCompoundGraph |
---|
getEdgeCounter, getNodeCounter, getNodeTree, getRootNodeIndex |
Methods inherited from class uk.ed.inf.graph.compound.base.BaseCompoundGraph |
---|
canCopyHere, canRemoveSubgraph, containsConnection, containsConnection, containsDirectedEdge, containsDirectedEdge, containsEdge, containsEdge, containsNode, containsNode, copyHere, edgeIterator, getCopiedComponents, getCurrentState, getEdge, getNode, getNumEdges, getNumNodes, isValid, nodeIterator, performCopy, removeSubgraph, restoreState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompoundGraph()
public CompoundGraph(CompoundGraph otherGraph)
Method Detail |
---|
protected void createNewRootNode(int newIndex)
createNewRootNode
in class ArchetypalCompoundGraph
public CompoundNode getRootNode()
ICompoundGraph
getRootNode
in interface ICompoundGraph<BaseCompoundNode,BaseCompoundEdge>
getRootNode
in class ArchetypalCompoundGraph
public CompoundEdgeFactory edgeFactory()
IModifiableCompoundGraph
edgeFactory
in interface IModifiableCompoundGraph<BaseCompoundNode,BaseCompoundEdge>
edgeFactory
in class BaseCompoundGraph
public CompoundNodeFactory nodeFactory()
IModifiableCompoundGraph
nodeFactory
in interface IModifiableCompoundGraph<BaseCompoundNode,BaseCompoundEdge>
nodeFactory
in class BaseCompoundGraph
public SubCompoundGraphFactory subgraphFactory()
IModifiableCompoundGraph
subgraphFactory
in interface IModifiableCompoundGraph<BaseCompoundNode,BaseCompoundEdge>
subgraphFactory
in class BaseCompoundGraph
protected void createCopyOfRootNode(int newIndexValue, BaseCompoundNode otherRootNode)
createCopyOfRootNode
in class ArchetypalCompoundGraph
protected boolean hasPassedAdditionalValidation()
BaseCompoundGraph
hasPassedAdditionalValidation
in class BaseCompoundGraph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |