skip to main content
article
Free Access

Efficient Planarity Testing

Authors Info & Claims
Published:01 October 1974Publication History
Skip Abstract Section

Abstract

This paper describes an efficient algorithm to determine whether an arbitrary graph G can be embedded in the plane. The algorithm may be viewed as an iterative version of a method originally proposed by Auslander and Parter and correctly formulated by Goldstein. The algorithm used depth-first search and has O(V) time and space bounds, where V is the number of vertices in G. An ALGOL implementation of the algorithm succesfully tested graphs with as many as 900 vertices in less than 12 seconds.

References

  1. 1 AUSLANDER, L., AND PARTER, S.V. On imbedding graphs in the plane. J. Math. and Mech. 10, 3 (May 1961), 517-523.Google ScholarGoogle Scholar
  2. 2 GOLDSTEI~r, A.J. An efficient and constructive algorithm for testing whether a graph can be embedded in a plane. Graph and Combinatorics Conf., Contract No. NONR 1858-(21), Office of Naval Research Logistics Proj., Dep. of Math., Princeton U., May 16-18, 1963, 2 pp.Google ScholarGoogle Scholar
  3. 3 GOLOMB, S. W., AND BAUMERT, L. D. Backtrack programming. J. ACM 12, 4 (Oct. 1965), 516-524. Google ScholarGoogle Scholar
  4. 4 NILSSON, N. Problem-Solving Melhods in Artificial Intelligence. McGraw-Hill, New York, 1971. Google ScholarGoogle Scholar
  5. 5 I-IoPCROFT, J., AND TARJAN, R. Efficient algorithms for graph manipulation. Comm. ACM 16, 6 (June 1973), 372-378. Google ScholarGoogle Scholar
  6. 6 TARJAN, R. Depth-first search and linear graph algorithms. SIAM J. Comput. i, 2 (June 1972), 146-159.Google ScholarGoogle Scholar
  7. 7 I'IoPCROFT, J., AND TARJAN, R. Isomorphism of planar graphs. In Complexity of Computer Computations, R. E. Miller and J. W. Thatcher, Eds., Plenum Press, New York, 1972, pp. 143- 150.Google ScholarGoogle Scholar
  8. 8 HoPCROrr, J., AND TARSAN, R. Dividing a graph into triconnected components. SIAM J. Comput. $, 3 (Sept. 1973), 135-158.Google ScholarGoogle Scholar
  9. 9 TARJAN, R. Finding dominators in directed graphs. Cornell U., Ithaca, N.Y., Dec. 1972 (unpub.).Google ScholarGoogle Scholar
  10. 10 HEcHT, M. S., AND ULL~AN, J.D. Flow-graph reducibility. SIAM J. Compul. 1, 2 (June 1972), 188-202.Google ScholarGoogle Scholar
  11. 11 TARJAN, R. Testing flow graph reducibility. Tit 73-159, Dep. of Comput. Sci., Cornell U., Ithaca, N.Y., Dec. 1972.Google ScholarGoogle Scholar
  12. 12 COOK, S. Linear time simulation of deterministic two-way pushdown automata. Proc. IFIP Cong. 1971: Foundations of Information Processing, Ljubljana, Yugoslavia, Aug. 1971, North- Holland Pub. Co., Amsterdam, pp. 174-179.Google ScholarGoogle Scholar
  13. 13 SITES, R.L. Algol W reference manual. STAN-CS-71-230, Comput. Sci. Dep., Stanford U., Aug. 1971. Google ScholarGoogle Scholar
  14. 14 LEDERBERG, J. DENDRAL-64: A system for computer construction, enumeration, and notation of organic molecules as tree structures and cyclic graphs, Part II: Topology of cyclic graphs. Interim Rep. to NASA, Grants Nos. G 81-60, NASA CR 68898, STAR No. N-66-14074, Dec. 15, 1965.Google ScholarGoogle Scholar
  15. 15 HOPCROF% J. An n log n algorithm for isomorphism of planar triply connected graphs. In Theory of Machines and Computations, Z. Kohavi and A. Paz, Eds., Academic Press, New York, 1971, pp. 189-196.Google ScholarGoogle Scholar
  16. 16 HorcRorr, J., AND TARJAN, R. A V2 algorithm for determining isomorphism of planar graphs. InJorm. Processing Letters, I, 1 (1971), 32-34.Google ScholarGoogle Scholar
  17. 17 HOPCROFr, J., AND TARJAN, ~R. A V log V algorithm for isomorphism of triconnected planar graphs. J. Comput. Sysl. 3ci. 7, 3 (June 1973), 323-331.Google ScholarGoogle Scholar
  18. 18 WEINSERO, L. Plane representations and codes for planar graphs. Proceedings: Third Annual Allerton Conference on Circuit and System Theory, U. of Illinois, Monticello, Ill., Oct. 1965, pp. 733-744.Google ScholarGoogle Scholar
  19. 19 WEINBERG, L. Algorithms for determining isomorphism groups for planar graphs. Proceedings: Third Annual Allerton Conference on Circuit and System Theory, U. of Illinois, Monticello, Ill,, Oct. 1965, pp. 913-929.Google ScholarGoogle Scholar
  20. 20 WEINB~RG, L. A simple and efficient algorithm for determining isomorphism of planar triply connected graphs. IEEE Trans. on Circuit Theory CT-13, 2 (June 1966), 142-148.Google ScholarGoogle Scholar
  21. 21 BRUNO, J., STEIGLITZ, K., AND WEINBERG, L. A new planarity test based on 3-connectivity. IEEE Trans. on Circuit Theory CT-17, 2 (May 1970), 197-206.Google ScholarGoogle Scholar
  22. 22 CHUNO, S. H., AND ROB, P.H. Algorithms for testing the planarity of a graph. Proc. Thirteenth Midwest Symposium on Circuit Theory, U. of Minnesota, Minneapolis, Minn., May 1970, VII.4.1-VII.4.12.Google ScholarGoogle Scholar
  23. 23 FISHER, G.j. Computer recognition and extraction of planar graphs from the incidence matrix. IEEE Trans. on Circuit Theory CT-13, 2 (june 1966), 154-163.Google ScholarGoogle Scholar
  24. 24 HOPCROFT, J., AND TARJAN, R. Planarity testing in V log V steps: Extended abstract. Proc. IFIP Cong. 1971. Foundations of Information Processing, Ljubljana, Yugoslavia, Aug. 1971, North-Holland Pub. Co., Amsterdam, pp. 18-22.Google ScholarGoogle Scholar
  25. 25 LEMPEL, A., EVEN, S., AND CEDERBAUM, I. An algorithm for planarity testing of graphs. Theory of Graphs: International Symposium: Rome, July, 1966, P. Rosenstiehl, Ed., Gordon and Breach, New York, 1967, pp. 215-232.Google ScholarGoogle Scholar
  26. 26 MEI, P., AND GIBBS, N. A planarity algorithm bused on the Kuratowski Theorem. Proc. AFIPS 1970 SJCC, Vol. 36, AFIPS Press, MontvMe, N.J., pp. 91-95.Google ScholarGoogle Scholar
  27. 27 MONDSHEIN, L. Combinatorial orderings and embedding of graphs. Tech. Note 1971-35, Lincoln Lab., M.I.T., Aug. 1971.Google ScholarGoogle Scholar
  28. 28 StaR,V, R.W. Implementation and analysis of efficient graph planarity testing algorithms. Ph.D. Thesis, U. of Wisconsin, June 19{}9.Google ScholarGoogle Scholar
  29. 29 TARJAN, R. An efficient planarity algorithm. STAN-CS-244-71, Comput. Sci. Dep., Stanford U., Nov. 1971.Google ScholarGoogle Scholar
  30. 30 TUTTE, W.J. How to draw a graph. Proc. London Math, Soc., Series 3, 13 (19{}3), 743-768.Google ScholarGoogle Scholar
  31. 31 WzNo, O. On drawing a planar graph. IEEE Trans. on Circuit Theory CT-IS, 1 (March 1966), 112-114.Google ScholarGoogle Scholar
  32. 32 YOUNOS, J. W. T. Minimal imbeddings and the genus of a graph. J. Math. and Mech. 1~, 2 (1963), 305-315.Google ScholarGoogle Scholar
  33. 33 KURATOWSKr, C. Sur le probleme des corbes gauches en topologie. Fundamenla Malhematicae 15 (1930), 271-283.Google ScholarGoogle Scholar
  34. 34 TAR JAN, R. Implementation of an efficient algorithm for planarity testing of graphs. Dec. 1969 (unpublished).Google ScholarGoogle Scholar
  35. 35 BER(~, C. The Theory of Graphs and Its Applications, trans, by Alision Doig. Methuen, London, 1964.Google ScholarGoogle Scholar
  36. 36 B~SACKER, R., AND SXATV, T. Finite Graphs and Networks: An Introduction with Applications. McGraw-Hill, New York, 1965.Google ScholarGoogle Scholar
  37. 37 HA~ARY, F. Graph Theory. Addison-Wesley, Reading, Mass., 1969.Google ScholarGoogle Scholar
  38. 38 ORE, O. Theory of Graphs. Amer. Math. Soc. Colloquium Pub., Vol. 38, Amer. Math. Soc., Providence, R. I., 1962.Google ScholarGoogle Scholar
  39. 39 TUTTE, W.T. Conneclivity in Graphs. Oxford U. Press, London, 1966.Google ScholarGoogle Scholar
  40. 40 HALL, D. W., AND SPENCEa, G. Elementary Topology. Wiley, New York, 1955.Google ScholarGoogle Scholar
  41. 41 TnRoN, W.J. Introduction to the Theory of Functions of a Complex Variable. Wiley, New York, 1953.Google ScholarGoogle Scholar
  42. 42 HOLT, R. C., AND REINGOLD, E.M. On the time required to detect cycles and connectivity in directed graphs. TR 70-63, Dep. of Comput. Sci., Cornell U., June 1970.Google ScholarGoogle Scholar
  43. 43 GRACE, D. W. Computer search for non-isomorphic convex polyhedra. Tech. Rep. CS15, Comput. Sci. Dep., Stanford U., Jan. 1965.Google ScholarGoogle Scholar

Index Terms

  1. Efficient Planarity Testing

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Journal of the ACM
        Journal of the ACM  Volume 21, Issue 4
        Oct. 1974
        172 pages
        ISSN:0004-5411
        EISSN:1557-735X
        DOI:10.1145/321850
        Issue’s Table of Contents

        Copyright © 1974 ACM

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 1 October 1974
        Published in jacm Volume 21, Issue 4

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader