Class DirectedAcyclicGraph.TopoComparator<V>

  • Type Parameters:
    V - the graph vertex type
    All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<V>
    Enclosing class:
    DirectedAcyclicGraph<V,​E>

    private static class DirectedAcyclicGraph.TopoComparator<V>
    extends java.lang.Object
    implements java.util.Comparator<V>, java.io.Serializable
    Note, this is a lazy and incomplete implementation, with assumptions that inputs are in the given topoIndexMap