uk.ed.inf.graph.compound
Interface ICompoundChildEdgeFactory<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
- Type Parameters:
N
- E
-
- All Superinterfaces:
- IBasicEdgeFactory<N,E>, ICompoundEdgeFactory<N,E>, IDirectedEdgeFactory<N,E>
- All Known Implementing Classes:
- BaseChildCompoundEdgeFactory, ChildCompoundEdgeFactory
public interface ICompoundChildEdgeFactory<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
- extends ICompoundEdgeFactory<N,E>
Factory that creates an edge within a particular child graph. It does not work out the LCA node that the
edge should be added to it and assumes that the edge should be added to the child graph associated with this
factory.
- Author:
- smoodie
getOwningChildGraph
IChildCompoundGraph<N,E> getOwningChildGraph()
- Description copied from interface:
ICompoundEdgeFactory
- The child graph that will contain any edges created by this factory.
- Specified by:
getOwningChildGraph
in interface ICompoundEdgeFactory<N extends ICompoundNode<N,? extends ICompoundEdge<N,?>>,E extends ICompoundEdge<N,E>>
- Returns:
- the owning child graph of the new edge.
- See Also:
for definition.
Not that this implementation will always return the child graph regardless of whether
the node pair is set.