Interface MinimumSpanningTree.Result<V,E>

Type Parameters:
V - the vertices type
E - the edges type
All Known Subinterfaces:
MinimumSpanningTree.IResult
Enclosing interface:
MinimumSpanningTree

public static interface MinimumSpanningTree.Result<V,E>
A result object for MinimumSpanningTree computation.
Author:
Barak Ugav
  • Method Summary

    Modifier and Type
    Method
    Description
    Get all the edges that form the spanning tree.
  • Method Details

    • edges

      Set<E> edges()
      Get all the edges that form the spanning tree.
      Returns:
      the set of MST edges.