• DocumentCode
    2356594
  • Title

    Estimating the size of the transitive closure in linear time

  • Author

    Cohen, Edith

  • Author_Institution
    AT&T Bell Labs., Murray Hill, NJ, USA
  • fYear
    1994
  • fDate
    20-22 Nov 1994
  • Firstpage
    190
  • Lastpage
    200
  • Abstract
    Computing transitive closure and reachability information in directed graphs is a fundamental graph problem with many applications. The fastest known algorithms run in O(sm) time for computing all nodes reachable from each of 1⩽s⩽n source nodes, or, using fast matrix multiplication, in O(n2.38) time for computing the transitive closure, where n is the number of nodes and m the number of edges in the graph. In query optimization in database applications it is often the case that only estimates on the size of the transitive closure and on the number of nodes reachable from certain nodes are needed. We present an O(m) time randomized algorithm that estimates the number of nodes reachable from every node and the size of the transitive closure. We also obtain a O˜(m) time algorithm for estimating sizes of neighborhoods in directed graphs with nonnegative weights, avoiding the O˜(mn) time bound of explicitly computing these neighborhoods. Our size-estimation algorithms are much faster than performing the actual computations and improve significantly over previous estimation methods
  • Keywords
    computational geometry; directed graphs; matrix multiplication; optimisation; database applications; directed graphs; fast matrix multiplication; linear time; neighborhoods; query optimization; randomized algorithm; reachability information; size-estimation algorithms; transitive closure; Database systems; IEL; Query processing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1994 Proceedings., 35th Annual Symposium on
  • Conference_Location
    Santa Fe, NM
  • Print_ISBN
    0-8186-6580-7
  • Type

    conf

  • DOI
    10.1109/SFCS.1994.365694
  • Filename
    365694