Counting edge crossings in a 2-layered drawing

被引:4
作者
Nagamochi, H [1 ]
Yamada, N [1 ]
机构
[1] Toyohashi Univ Technol, Dept Informat & Comp Sci, Aichi 4418580, Japan
关键词
graph algorithms; edge crossings; bipartite graphs; counting; graph drawing; dynamic programming; divide-and-conquer;
D O I
10.1016/j.ipl.2004.05.001
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Given a bipartite graph G = (V, W, E) with a bipartition {V, W} of a vertex set and an edge set E, a 2-layered drawing of G in the plane means that the vertices of V and W are respectively drawn as distinct points on two parallel lines and the edges as straight line segments. We consider the problem of counting the number of edge crossings. In this paper, we design two algorithms to this problem based on the dynamic programming and divide-and-conquer approaches. These algorithms run in O(n(1)n(2)) time and O(m) space and in O(min{n(1)n(2), \E\ log(min{\V\, \W\})}) time and O(m) space, respectively. Our algorithms outperform the previously fastest Theta(\E\log(min{\V\, \W\})) time algorithm for dense graphs. (C) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:221 / 225
页数:5
相关论文
共 6 条
  • [1] BARTH W, 2002, LECT NOTES COMPUT SC, V2528, P130
  • [2] EDGE CROSSINGS IN DRAWINGS OF BIPARTITE GRAPHS
    EADES, P
    WORMALD, NC
    [J]. ALGORITHMICA, 1994, 11 (04) : 379 - 403
  • [3] Junger M., 1997, Journal of Graph Algorithms and Applications, V1
  • [4] METHODS FOR VISUAL UNDERSTANDING OF HIERARCHICAL SYSTEM STRUCTURES
    SUGIYAMA, K
    TAGAWA, S
    TODA, M
    [J]. IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS, 1981, 11 (02): : 109 - 125
  • [5] SUGIYAMA K, 2002, SERIES SOFTWARE ENG, V11
  • [6] Waddle V, 1999, LECT NOTES COMPUT SC, V1731, P59