Package graphs

Interface Graph<V>

    • Method Detail

      • neighbors

        List<Edge<V>> neighbors​(V vertex)
        Returns a list of the outgoing edges from the given vertex.
        Parameters:
        vertex - the node of interest.
        Returns:
        a list of the outgoing edges from the given vertex.