Class SlowDFSDiscoverTimeIterator<T>

    • Constructor Detail

      • SlowDFSDiscoverTimeIterator

        protected SlowDFSDiscoverTimeIterator()
        For use with extreme care by subclasses that know what they're doing.
      • SlowDFSDiscoverTimeIterator

        public SlowDFSDiscoverTimeIterator​(Graph<T> G,
                                           T N)
        Construct a depth-first enumerator starting with a particular node in a directed graph.
        Parameters:
        G - the graph whose nodes to enumerate
      • SlowDFSDiscoverTimeIterator

        public SlowDFSDiscoverTimeIterator​(Graph<T> G,
                                           Iterator<T> nodes)
        Construct a depth-first enumerator across the (possibly improper) subset of nodes reachable from the nodes in the given enumeration.
        Parameters:
        G - the graph whose nodes to enumerate
        nodes - the set of nodes from which to start searching