Package dev.nm.graph

Interface Forest<V,​E extends HyperEdge<V>>

  • Type Parameters:
    V - vertex type
    E - edge type
    All Superinterfaces:
    Graph<V,​E>, Tree<V,​E>

    public interface Forest<V,​E extends HyperEdge<V>>
    extends Tree<V,​E>
    A forest is a disjoint union of trees.
    • Method Detail

      • trees

        Set<Tree<V,​E>> trees()
        Get the disjoint set of trees.
        Returns:
        the trees