Interface EdgeFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Edge createEdge​(java.lang.Object sourceVertex, java.lang.Object targetVertex)
      Creates a new edge whose endpoints are the specified source and target vertices.
    • Method Detail

      • createEdge

        Edge createEdge​(java.lang.Object sourceVertex,
                        java.lang.Object targetVertex)
        Creates a new edge whose endpoints are the specified source and target vertices.
        Parameters:
        sourceVertex - the source vertex.
        targetVertex - the target vertex.
        Returns:
        a new edge whose endpoints are the specified source and target vertices.