Class GraphTopologicalSort


  • public final class GraphTopologicalSort
    extends Object
    • Method Detail

      • sort

        public static <V,​R> List<V> sort​(GraphDefiner<V,​R> definer)
        Sorts a graph topologically.
        Parameters:
        definer - Defines a graph (values and representations) to sort.
        Returns:
        Values of the graph, sorted topologically.