Interface VertexCombinator<VertexType extends GraphVertex<VertexType>>


public interface VertexCombinator<VertexType extends GraphVertex<VertexType>>
Interface for an object which combines a set of vertices into a single composite vertex; for example, after finding strongly connected components.
  • Method Summary

    Modifier and Type
    Method
    Description
    Combine given vertices into a single vertex.
  • Method Details

    • combineVertices

      VertexType combineVertices(Set<VertexType> vertexSet)
      Combine given vertices into a single vertex.
      Parameters:
      vertexSet - set of vertices to be combined
      Returns:
      the result of combining the vertices in the set