Testing properties of directed graphs: Acyclicity and connectivity

被引:30
作者
Bender, MA [1 ]
Ron, D
机构
[1] SUNY Stony Brook, Dept Comp Sci, Stony Brook, NY 11794 USA
[2] Tel Aviv Univ, Dept Elect Syst Engn, Ramat Aviv, Israel
关键词
D O I
10.1002/rsa.10023
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This article initiates the study of testing properties of directed graphs. In particular, the article considers the most basic property of directed graphs-acyclicity. Because the choice of representation affects the choice of algorithm, the two main representations of graphs are studied. For the adjacency-matrix representation, most appropriate for dense graphs, a testing algorithm is developed that requires query and time complexity of (O) over tilde (1/epsilon(2)), where e is a distance parameter independent of the size of the graph. The algorithm, which can probe the adjacency matrix of the graph, accepts every graph that is acyclic, and rejects, with probability at least 2/3, every graph whose adjacency matrix should be modified in at least E fraction of its entries so, that it becomes acyclic. For the incidence list representation, most appropriate for sparse graphs, an Ohm(\V\(1/3)) lower bound is proved on the number of queries and the time required for testing, where V is the set of vertices in the graph. Along with acyclicity, this article considers the property of strong connectivity. Contrasting upper and lower bounds are proved for the incidence list representation. In particular, if the testing algorithm can query on both incoming and outgoing edges at each vertex, then it is possible to test strong, connectivity in (O) over tilde (1/epsilon) time and query complexity. On the other hand, if the testing algorithm only has access to outgoing edges, then Ohm( rootN) queries are required to test for strong connectivity. (C) 2002 Wiley Periodicals, Inc.
引用
收藏
页码:184 / 205
页数:22
相关论文
共 32 条
  • [1] ALON N, 1999, P 40 ANN S FDN COMP, P645
  • [2] ALON N, 1999, P 40 ANN S FDN COMP, P656
  • [3] Proof verification and the hardness of approximation problems
    Arora, S
    Lund, C
    Motwani, R
    Sudan, M
    Szegedy, M
    [J]. JOURNAL OF THE ACM, 1998, 45 (03) : 501 - 555
  • [4] Probabilistic checking of proofs: A new characterization of NP
    Arora, S
    Safra, S
    [J]. JOURNAL OF THE ACM, 1998, 45 (01) : 70 - 122
  • [5] A new rounding procedure for the assignment problem with applications to dense graph arrangement problems
    Arora, S
    Frieze, A
    Kaplan, H
    [J]. 37TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1996, : 21 - 30
  • [6] Babai L., 1991, Computational Complexity, V1, P3, DOI 10.1007/BF01200056
  • [7] Babai Laszlo, 1991, P 23 ANN ACM S THEOR, P21, DOI [10.1145/103418.103428, DOI 10.1145/103418.103428]
  • [8] Tight bounds for the maximum acyclic subgraph problem
    Berger, B
    Shor, PW
    [J]. JOURNAL OF ALGORITHMS, 1997, 25 (01) : 1 - 18
  • [9] SELF-TESTING CORRECTING WITH APPLICATIONS TO NUMERICAL PROBLEMS
    BLUM, M
    LUBY, M
    RUBINFELD, R
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1993, 47 (03) : 549 - 595
  • [10] Dodis Yevgeniy, 1999, P 3 INT WORKSH RAND, P97