Class TopologicalSorter


  • public class TopologicalSorter
    extends java.lang.Object
    Version:
    $Id$
    Author:
    Michal Maczka
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> sort​(DAG graph)  
      static java.util.List<java.lang.String> sort​(Vertex vertex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TopologicalSorter

        public TopologicalSorter()
    • Method Detail

      • sort

        public static java.util.List<java.lang.String> sort​(DAG graph)
        Parameters:
        graph -
        Returns:
        List of String (vertex labels)
      • sort

        public static java.util.List<java.lang.String> sort​(Vertex vertex)