Interface GraphToolkit<GraphType extends Graph<EdgeType, VertexType>, EdgeType extends GraphEdge<EdgeType, VertexType>, VertexType extends GraphVertex<VertexType>>
public interface GraphToolkit<GraphType extends Graph<EdgeType, VertexType>, EdgeType extends GraphEdge<EdgeType, VertexType>, VertexType extends GraphVertex<VertexType>>
An interface for creating Graph objects, and for copying auxiliary
information in vertices and edges.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCopy auxiliary information from one edge to another.Create a new empty graph (no vertices or edges).duplicateVertex(VertexType original) Make a copy of given vertex.
-
Method Details
-
createGraph
-
duplicateVertex
Make a copy of given vertex.- Parameters:
original- the vertex to copy- Returns:
- an exact duplicate of the vertex
-
copyEdge
-