Skip to main content
Log in

A tighter insertion-based approximation of the crossing number

  • Published:
Journal of Combinatorial Optimization Aims and scope Submit manuscript

Abstract

Let G be a planar graph and F a set of additional edges not yet in G. The multiple edge insertion problem (MEI) asks for a drawing of \(G+F\) with the minimum number of pairwise edge crossings, such that the subdrawing of G is plane. Finding an exact solution to MEI is NP-hard for general F. We present the first polynomial time algorithm for MEI that achieves an additive approximation guarantee—depending only on the size of F and the maximum degree of G, in the case of connected G. Our algorithm seems to be the first directly implementable one in that realm, too, next to the single edge insertion. It is also known that an (even approximate) solution to the MEI problem would approximate the crossing number of the F-almost-planar graph \(G+F\), while computing the crossing number of \(G+F\) exactly is NP-hard already when \(|F|=1\). Hence our algorithm induces new, improved approximation bounds for the crossing number problem of F-almost-planar graphs, achieving constant-factor approximation for the large class of such graphs of bounded degrees and bounded size of F.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Notes

  1. In a simple graph, a trivial block is always a bridge in G. In multigraphs, H may also be a set of parallel edges between a vertex pair xy, whose removal would disconnect xy. In the latter case, it is trivial that the precise order of the edges is irrelevant, and we could represent H via a single edge \(e_H\) and its multiplicity |E(H)| instead.

  2. Note that \(w_2^\beta =w_1^{\beta '}\) if \(\beta ,\beta '\) are consecutive B-nodes on Q in this order.

  3. For example, it is the preference scheme originally described in the conference version of this research (Chimani and Hliněný 2011).

  4. Note that (some of) the spin values in \(\hat{G}_1\) are correlated with the specification \({\mathcal {E}}\) according to Definition 2.15, and so \({\mathcal {E}}\) is implicitly considered in the case (P2), too.

  5. If one prefers not to study and translate the details of Gutwenger et al. (2005), there is also a simple workaround. We can take the resulting optimal embedding of G obtained in Gutwenger et al. (2005) and follow the constructive proof of Lemma 2.19 to derive \(\Pi _{v_1v_2}\) back from the embedding.

  6. This claim is better known in the following formulation: The intersection graph of subtrees in a tree is chordal and it contains a so-called simplicial vertex.

References

  • Bhatt SN, Leighton FT (1984) A framework for solving vlsi graph layout problems. J Comput Syst Sci 28(2):300–343

    Article  MathSciNet  MATH  Google Scholar 

  • Bienstock D, Monma CL (1990) On the complexity of embedding planar graphs to minimize certain distance measures. Algorithmica 5(1):93–109

    Article  MathSciNet  MATH  Google Scholar 

  • Cabello S, Mohar B (2011) Crossing and weighted crossing number of near planar graphs. Algorithmica 60:484–504

    Article  MathSciNet  MATH  Google Scholar 

  • Cabello S, Mohar B (2013) Adding one edge to planar graphs makes crossing number and 1-planarity hard. SIAM J Comput 42:1803–1829

    Article  MathSciNet  MATH  Google Scholar 

  • Chimani M (2008) Computing crossing numbers. PhD thesis, TU Dortmund, Germany, Online. www.cs.uos.de/theoinf

  • Chimani M, Gutwenger C (2012) Advances in the planarization method: effective multiple edge insertions. J. Graph Algorithms Appl 16(3):729–757

    Article  MathSciNet  MATH  Google Scholar 

  • Chimani M, Gutwenger C, Mutzel P, Wolf C (2009) Inserting a vertex into a planar graph. In: Proceedings SODA ’09, pp 375–383

  • Chimani M, Hliněný P (2011) A tighter insertion-based approximation of the crossing number. In: Proceedngs ICALP ’11, vol 6755 of LNCS, Springer, New York, pp 122–134

  • Chimani M, Hliněný P (2016) Inserting multiple edges into a planar graph. In: Proceedings SoCG ’16, pages—to appear. Dagstuhl, arXiv:1509.07952

  • Chimani M, Hliněný P, Mutzel P (2012) Vertex insertion approximates the crossing number for apex graphs. Eur J Comb 33:326–335

    Article  MathSciNet  MATH  Google Scholar 

  • Chuzhoy J (2011) An algorithm for the graph crossing number problem. In Proceedings STOC ’11, ACM, pp 303–312

  • Chuzhoy J, Makarychev Y, Sidiropoulos A (2011) On graph crossing number and edge planarization. In: Proceedings SODA ’11. ACM Press, New York, pp 1050–1069

  • Di Battista G, Tamassia R (1996) On-line planarity testing. SIAM J Comput 25:956–997

    Article  MathSciNet  MATH  Google Scholar 

  • Even G, Guha S, Schieber B (2002) Improved approximations of crossings in graph drawings and VLSI layout areas. SIAM J Comput 32(1):231–252

    Article  MathSciNet  MATH  Google Scholar 

  • Gitler I, Hliněný P, Leanos J, Salazar G (2008) The crossing number of a projective graph is quadratic in the face-width. Electron J Comb 15(1):46

  • Gutwenger C (2010) Application of SPQR-trees in the planarization approach for drawing graphs. PhD thesis, TU Dortmund, Germany

  • Gutwenger C, Mutzel P (2001) A linear time implementation of SPQR trees. In: Proceedings GD ’00, vol 1984 of LNCS. Springer, New York, pp 77–90

  • Gutwenger C, Mutzel P (2004) An experimental study of crossing minimization heuristics. In: Proceedings GD ’03, vol 2912. LNCS. Springer, New York, pp 13–24

  • Gutwenger C, Mutzel P, Weiskircher R (2005) Inserting an edge into a planar graph. Algorithmica 41(4):289–308

    Article  MathSciNet  MATH  Google Scholar 

  • Hliněný P, Chimani M (2010) Approximating the crossing number of graphs embeddable in any orientable surface. In: Proceedings SODA ’10, pp 918–927

  • Hliněný P, Salazar G (2006) On the crossing number of almost planar graphs. In: Proceedings GD ’05, vol 4372. LNCS. Springer, New York, pp 162–173

  • Hliněný P, Salazar G (2007) Approximating the crossing number of toroidal graphs. In Proceedings ISAAC ’07, vol 4835. LNCS. Springer, New York, pp 148–159

  • Hopcroft JE, Tarjan RE (1973) Dividing a graph into triconnected components. SIAM J Comput 2(3):135–158

    Article  MathSciNet  MATH  Google Scholar 

  • Masuda S, Nakajima K, Kashiwabara T, Fujisawa T (1990) Crossing minimization in linear embeddings of graphs. IEEE Trans Comput 39:124–127

    Article  MathSciNet  Google Scholar 

  • Tutte WT (1966) Connectivity in graphs. In: Mathematical expositions, vol 15. University of Toronto Press, Toronto

  • Vrt’o I (2014) Crossing numbers of graphs: a bibliography. ftp://ftp.ifi.savba.sk/pub/imrich/crobib.pdf

  • Ziegler T (2001) Crossing minimization in automatic graph drawing. PhD thesis, Saarland University, Germany

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Petr Hliněný.

Additional information

A preliminary version of this research appeared in ICALP 2011 (Chimani and Hliněný 2011).

M. Chimani has been supported by the German Research Foundation (DFG) project CH 897/2-1.

P. Hliněný has been supported by the Czech Science Foundation project 14-03501S.

Appendix: Ziegler’s proof of NP-hardness of MEI

Appendix: Ziegler’s proof of NP-hardness of MEI

In his PhD-thesis (Ziegler 2001), Ziegler showed that MEI is NP-hard (the corresponding decision problem is NP-complete) for general k. Since this thesis is somewhat hard to obtain, we reproduce a slightly simplified version of his proof.

Theorem 6.1

(Ziegler 2001) Given a graph G, a set F of unordered vertex-pairs, and an integer b, it is NP-complete to decide whether there is a planar drawing D of G such that we can insert an edge vw for each vertex pair \(\{v,w\}\in F\) into D with overall at most b crossings.

Proof

NP-membership is trivial and it hence remains to show NP-hardness. We use a reduction from

Fixed Linear Crossing Number (FLCN):

Given a graph \(H=(V,E)\), a 1-to-1 function \(f:V\rightarrow \{1,2,\ldots ,|V|\}\), and an integer \(\ell \). Does there exist an f-linear drawing of H with at most \(\ell \) crossings?

Thereby, an f-linear drawing is one where all vertices are placed on a horizontal line, each vertex v at coordinate f(v), and each edge is either drawn completely above or completely below that line. It was shown in Masuda et al. (1990) that Flcn is NP-complete.

Let \((H=(V,E),f,\ell )\) be an instance to FLCN. We will construct a corresponding MEI instance \((G=(W,E^*),F,b)\) of size polynomial in \(|V(H)+E(H)|\) which is a yes-instance for MEI if and only if \((H,f,\ell )\) is a yes-instance for FLCN. The key idea is to build a rigid graph G that models the restrictions of f-linear drawings, into which we then have to insert the original edges E. Observe that FLCN can only be hard if \(\ell <|E|^2\).

Label the vertices \(V=\{v_1,\ldots ,v_{n}\}\) such that \(f(v_i)=i\) and \(n=|V|\). We may assume w.l.o.g. that \(n\ge 3\). We start with constructing a graph \(G'=(W,E')\) on \(n+2\) vertices where \(W:=V\cup \{w_a,w_b\}\) and \(E':=\{v_iv_{i+1} : 1\le i<n\} \cup \{v_1w_a, v_nw_a, v_1w_b, v_nw_b, w_aw_b\}\). Observe that \(G'\) is planar and (since its SPR-tree consists of one R- and one S-node) allows only a unique embedding (and its mirror). We obtain G from \(G'\) by replacing each edge in \(E'\) by \(|E|^2\) parallel edges. Up to ordering the multiple edges amongst its peers, G still allows only a unique embedding.

Now, set \(b:=\ell \) and \(F:=E\), i.e., we want to insert the edges of H into planar G. We can assume w.l.o.g. that E contains no edges \(v_iv_i\) or \(v_iv_{i+1}\) for any i. G has exactly four faces with more than two incident vertices: let \(\varphi _1\) (\(\varphi _2\)) be the face incident to exactly \(\{w_a,w_b,v_1\}\) (\(\{w_a,w_b,v_n\}\), respectively). Let \(\varphi _a\) (\(\varphi _b\)) be the face incident to all of V and \(w_a\) (\(w_b\), respectively). To go from one of these four faces to another, we would always have to cross at least \(|E|^2\) edges (a parallel bunch), which is infeasible when asking for a solution with at most \(b=\ell <|E|^2\) crossings. No edge of \(F=E\) will be placed in \(\varphi _1\) or \(\varphi _2\) as they are only incident to one vertex of V. Hence each edge is either completely within \(\varphi _a\) or \(\varphi _b\), and the equivalence with being above or below the horizontal line of an f-linear drawing follows. \(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chimani, M., Hliněný, P. A tighter insertion-based approximation of the crossing number. J Comb Optim 33, 1183–1225 (2017). https://doi.org/10.1007/s10878-016-0030-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10878-016-0030-z

Keywords

Navigation