Class TopologicalSorter

java.lang.Object
org.codehaus.plexus.util.dag.TopologicalSorter

public class TopologicalSorter extends Object
Author:
Michal Maczka
  • Constructor Details

    • TopologicalSorter

      public TopologicalSorter()
  • Method Details

    • sort

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

      public static List<String> sort(Vertex vertex)