Package dev.nm.graph

Interface DAGraph<V,​E extends Arc<V>>

    • Method Detail

      • topologicalOrder

        int topologicalOrder​(V v)
        Get the topological order of a vertex.
        Parameters:
        v - a vertex
        Returns:
        the topological order of a vertex