|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ed.inf.graph.compound.base.BaseSubCompoundGraphBuilder
uk.ed.inf.graph.compound.impl.SubCompoundGraphBuilder
public class SubCompoundGraphBuilder
Constructor Summary | |
---|---|
SubCompoundGraphBuilder(CompoundGraph graph)
Construct the builder, providing it with a list of nodes and edges with which to populate the subgraph that will be constructed. |
Method Summary | |
---|---|
protected void |
addAdditionalEdges()
|
protected void |
addAdditionalNodes()
|
CompoundGraph |
getGraph()
|
SubCompoundGraph |
getSubgraph()
Retrieve the created subgraph. |
protected void |
newSubgraph()
|
Methods inherited from class uk.ed.inf.graph.compound.base.BaseSubCompoundGraphBuilder |
---|
addIncidentEdges, buildSubgraph, expandChildNodes, getEdgeList, getNodeList, hasAdditionalNodes, setEdgeList, setNodeList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
SubCompoundGraphBuilder(CompoundGraph graph)
graph
- the graph to which the subgraph will refer, cannot be null.
java.lang.NullPointerException
- if any of the the parameters are null.Method Detail |
---|
protected void newSubgraph()
newSubgraph
in class BaseSubCompoundGraphBuilder
public SubCompoundGraph getSubgraph()
BaseSubCompoundGraphBuilder
getSubgraph
in interface ISubCompoundGraphBuilder<BaseCompoundNode,BaseCompoundEdge>
getSubgraph
in class BaseSubCompoundGraphBuilder
public CompoundGraph getGraph()
getGraph
in interface ISubCompoundGraphBuilder<BaseCompoundNode,BaseCompoundEdge>
getGraph
in class BaseSubCompoundGraphBuilder
protected void addAdditionalEdges()
addAdditionalEdges
in class BaseSubCompoundGraphBuilder
protected void addAdditionalNodes()
addAdditionalNodes
in class BaseSubCompoundGraphBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |