Class TopologicalSorter

    • Constructor Detail

      • TopologicalSorter

        public TopologicalSorter()
    • Method Detail

      • sort

        public static List<String> sort​(DAG graph)
        Parameters:
        graph - the graph
        Returns:
        List of String (vertex labels)