uk.ed.inf.graph.colour
Interface IColouredEdgeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>
- All Superinterfaces:
- IBasicEdgeFactory<N,E>
public interface IColouredEdgeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>
- extends IBasicEdgeFactory<N,E>
getGraph
IColouredGraph<N,E> getGraph()
- Get the graph to which this factory acts upon.
- Specified by:
getGraph
in interface IBasicEdgeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>
- Returns:
- The owning graph, cannot be null.
setColourHandlerFactory
void setColourHandlerFactory(IEdgeColourHandlerFactory<N,E> handlerFactory)
createEdge
E createEdge()
- Create a new edge and add it to the graph.
- Specified by:
createEdge
in interface IBasicEdgeFactory<N extends IBasicNode<N,? extends IBasicEdge<N,?>>,E extends IBasicEdge<N,E>>
- Returns: