Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article

Breaking cycles for minimizing crossings

Published: 31 December 2001 Publication History

Abstract

We consider the one-sided crossing minimization problem (CP): given a bipartite graph G and a permutation x0 of the vertices on a layer, find a perumuation x1 of the vertices on the other layer which minimizes the number of edge crossings in any straightline drawing of G where vertices are placed on two parallel lines and sorted according to x0 and x1. Solving CP represents a fundamental step in the construction of aesthetically pleasing layouts of heirarchies and directed graphs, but unfortunately this problem has been proved to be NP-complete.
In this paper we address the strong relation between CP and the problem of computing minimum feedback arc sets in directed graphs and we devise a enw approximation algorithm for CP, called PM, that exploits this dependency. We experimantally and visually compare the performance of PM with the performance of well-known algorithms and of recent attractive strategies. Experiments are carried out on different families of randomly generated graphs, on pathological instances, and on real test sets. Performance indicators include both number of edge crossings and running time, as well as structural measures of the problem instances. We found CP to be a very interesting and rich problem from a combinatorial point of view. Our results clearly separate the behavior of the algorithms, proving the effectiveness of PM on most test sets and showing tradeoffs between quality of the solutions and running time. However, if the visual complexity of the drawings is considered, we found no clear winner. This confirms the importance of optimizing also other aesthetic criteria such as symmetry, edge length, and angular resolution.

References

[1]
G. Ausiello, P. Crescenzi, G. Gambosi, V. Kann, A. Marchetti-Spaccamela, and M. Protasi.Approximate Solution of NP-Hard Optimization Problems. Springer Verlag, 1999.]]
[2]
R. Bar-Yehuda. One for the price of two: A unified approach for approximating coveringproblems. In Proc. 1st Workshop on Approximation Algorithms for Combinatorial Optimization Problems (APPROX'98), pages 49-62, 1998.]]
[3]
R. Boisvert, R. Pozo, K. Remington, R. Barrett, and J. Dongarra. Matrix Market: a webresource for test matrix collections. In R. Boisvert, editor, The Quality of NumericalSoftware: Assessment and Enhancement, pages 125-137. Chapman and Hall, London,1997. Matrix Market is available at the URL:http://math.nist.gov/MatrixMarket/.]]
[4]
M.J. Carpano. Automatic display of hierarchized graphs for computer-aided decision analysis.IEEE Trans. Syst. Man Cybern., 10(11):705-715, 1980.]]
[5]
T. Catarci. The assignment heuristic for crossing reduction. IEEE Trans. Syst. Man Cybern.,25(3):515-521, 1995.]]
[6]
T.H. Cormen, C.E. Leiserson, R.L. Rivest, and C. Stein. Introduction to Algorithms.McGraw-Hill, 2001.]]
[7]
P. Crescenzi, C. Demetrescu, I. Finocchi, and R. Petreschi. Reversible execution and visualization of programs with Leonardo. Journal of Visual Languages and Computing, 11(2),2000. System home page:http://www.dis.uniroma1.it/~demetres/Leonardo/.]]
[8]
C. Demetrescu and I. Finocchi. Leonardo's repository of animated algorithms. Available athttp://www.dis.uniroma1.it/~demetres/Leonardo/ProgramsRepository.html.]]
[9]
C. Demetrescu and I. Finocchi. Combinatorial algorithms for feedback problems in directedgraphs. Information Processing Letters, 86(3):129-136, 2003.]]
[10]
C. Demetrescu and I. Finocchi. Break the "right" cycles and get the "best" drawing. InB.E. Moret and A.V. Goldberg, editors, Proc. of the 2nd International Workshop onAlgorithm Engineering and Experiments (ALENEX'00), pages 171-182, 2000.]]
[11]
G. Di Battista, P. Eades, R. Tamassia, and I. Tollis. Graph Drawing: Algorithms for theVisualization of Graphs. Prentice Hall, Upper Saddle River, NJ, 1999.]]
[12]
S. Dresbach. A new heuristic layout algorithm for dags. In U. Derigs and A. Drexl, editors,Operations Research Proceedings, pages 121-126, 1994.]]
[13]
P. Eades and D. Kelly. Heuristics for reducing crossings in 2-layered networks. Ars Combin.,21:89-98, 1986.]]
[14]
P. Eades and X. Lin. A new heuristic for the feedback arc set problem. Australian Journalof Combinatorics, 12:15-26, 1995.]]
[15]
P. Eades, X. Lin, and W.F. Smyth. A Fast and Effective Heuristic for the Feedback Arc SetProblem. Information Processing Letters, 47(6):319-323, 1993.]]
[16]
P. Eades and S. Whitesides. Drawings graphs in two layers. Theoretical Computer Science,131:361-374, 1994.]]
[17]
P. Eades and N.C. Wormald. Edge crossings in drawings of bipartite graphs. Algorithmica,11:379-403, 1994.]]
[18]
G. Even, J. Naor, S. Rao, and B. Schieber. Divide-and-conquer approximation algorithms viaspreading metrics. In Proc. 36th Annual IEEE Symposium on Foundations of ComputerScience, pages 62-71, 1995.]]
[19]
E.R. Gansner, E. Koutsofios, S.C. North, and K.P. Vo. A technique for drawing directedgraphs. IEEE Trans. Softw. Eng., 19:214-230, 1993.]]
[20]
M.R. Garey and D.S. Johnson. Computers and Intractability: a Guide to Theory of NP-completeness. W.H.Freeman, 1979.]]
[21]
A.V. Goldberg. Selecting problems for algorithm evaluation. In Proc. 3-rd Workshop onAlgorithm Engineering (WAE'99), LNCS 1668, pages 1-11, 1999.]]
[22]
M. Jünger and P. Mutzel. 2-layer straightline crossing minimization: Performance of exactand heuristic algorithms. J. Graph Algorithms and Applications, 1(1):1-25, 1997.]]
[23]
D.E. Knuth. The Stanford GraphBase: A platform for combinatorial computing. Addison-Wesley, 1993.]]
[24]
E. Makinen. Experiments in drawing 2-level hierarchical graphs. Technical Report A-1988-1,Department of Computer Science, University of Tampere, 1988.]]
[25]
C. Matuszewski, R. Schönfeld, and P. Molitor. Using sifting for k-layer straightline crossing minimization. In Proc. 7th International Symposium on Graph Drawing (GD'99), LNCS1731, pages 217-224, 1999.]]
[26]
P. Mutzel, C. Gutwenger, R. Brockenauer, and S. Fialko. A library of algorithms forgraph drawing. Lecture Notes in Computer Science, 1547:456-457, 1998. Project URL:http://www.mpi-sb.mpg.de/AGD/.]]
[27]
S. North. 5114 directed graphs. Available at ftp://ftp.research.att.com/dist/drawdag/,1995.]]
[28]
H.C. Purchase, R.F. Cohen, and M.I. James. An experimental study of the basis for graphdrawing algorithms. ACM Journal on Experimental Algorithmics, 2, 1997.]]
[29]
R. Rudell. Dynamic variable ordering for ordered binary decision diagrams. In Proc. International Conference on Computer-Aided Design (ICCAD'93), pages 42-47, 1993.]]
[30]
P.D. Seymour. Packing directed circuits fractionally. Combinatorica, 15:281-288, 1995.]]
[31]
K. Sugiyama, S. Tagawa, and M. Toda. Methods for visual understanding of hierarchicalsystem structures. IEEE Trans. Syst. Man Cybern., 11(2):109-125, 1981.]]
[32]
V. Valls, R. Marti, and P. Lino. A branch and bound algorithm for minimizing the numberof crossing arcs in bipartite graphs. J. Operational Research, 90:303-319, 1996.]]
[33]
J.N. Warfield. Crossing theory and hierarchy mapping. IEEE Trans. Syst. Man Cybern.,7(7):502-523, 1977.]]
[34]
A. Yamaguchi and A. Sugimoto. An approximation algorithm for the two-layered graphdrawing problem. In Proc. 5th Annual Int. Conference on Computing and Combinatorics(COCOON'99), pages 81-91, 1999.]]

Cited By

View all
  • (2024)Evolutionary Computation Meets Graph Drawing: Runtime Analysis for Crossing Minimisation on Layered Graph DrawingsProceedings of the Genetic and Evolutionary Computation Conference10.1145/3638529.3654105(1533-1541)Online publication date: 14-Jul-2024
  • (2023)Splitting Vertices in 2-Layer Graph DrawingsIEEE Computer Graphics and Applications10.1109/MCG.2023.326424443:3(24-35)Online publication date: 1-May-2023
  • (2018)Efficient pruning of large knowledge graphsProceedings of the 27th International Joint Conference on Artificial Intelligence10.5555/3304222.3304334(4055-4063)Online publication date: 13-Jul-2018
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Journal of Experimental Algorithmics
ACM Journal of Experimental Algorithmics  Volume 6, Issue
2001
313 pages
ISSN:1084-6654
EISSN:1084-6654
DOI:10.1145/945394
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 December 2001
Published in JEA Volume 6

Author Tags

  1. Experimental algorithms
  2. bipartite graphs
  3. crossing minimization

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)39
  • Downloads (Last 6 weeks)1
Reflects downloads up to 06 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Evolutionary Computation Meets Graph Drawing: Runtime Analysis for Crossing Minimisation on Layered Graph DrawingsProceedings of the Genetic and Evolutionary Computation Conference10.1145/3638529.3654105(1533-1541)Online publication date: 14-Jul-2024
  • (2023)Splitting Vertices in 2-Layer Graph DrawingsIEEE Computer Graphics and Applications10.1109/MCG.2023.326424443:3(24-35)Online publication date: 1-May-2023
  • (2018)Efficient pruning of large knowledge graphsProceedings of the 27th International Joint Conference on Artificial Intelligence10.5555/3304222.3304334(4055-4063)Online publication date: 13-Jul-2018
  • (2011)A solution to bipartite drawing problem using genetic algorithmProceedings of the Second international conference on Advances in swarm intelligence - Volume Part I10.5555/2026282.2026355(530-538)Online publication date: 12-Jun-2011
  • (2011)k-level crossing minimization is NP-hard for treesProceedings of the 5th international conference on WALCOM: algorithms and computation10.5555/1966169.1966181(70-76)Online publication date: 18-Feb-2011
  • (2011)A Solution to Bipartite Drawing Problem Using Genetic AlgorithmAdvances in Swarm Intelligence10.1007/978-3-642-21515-5_63(530-538)Online publication date: 2011
  • (2011)k-Level Crossing Minimization Is NP-Hard for TreesWALCOM: Algorithms and Computation10.1007/978-3-642-19094-0_9(70-76)Online publication date: 2011
  • (2009)Crossing minimization in weighted bipartite graphsJournal of Discrete Algorithms10.1016/j.jda.2008.08.0037:4(439-452)Online publication date: 1-Dec-2009
  • (2007)Crossing minimization in weighted bipartite graphsProceedings of the 6th international conference on Experimental algorithms10.5555/1768570.1768584(122-135)Online publication date: 6-Jun-2007
  • (2007)Crossing Minimization in Weighted Bipartite GraphsExperimental Algorithms10.1007/978-3-540-72845-0_10(122-135)Online publication date: 2007
  • Show More Cited By

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media