2,124 research outputs found

    Geometric Crossing-Minimization - A Scalable Randomized Approach

    Get PDF
    We consider the minimization of edge-crossings in geometric drawings of graphs G=(V, E), i.e., in drawings where each edge is depicted as a line segment. The respective decision problem is NP-hard [Daniel Bienstock, 1991]. Crossing-minimization, in general, is a popular theoretical research topic; see Vrt\u27o [Imrich Vrt\u27o, 2014]. In contrast to theory and the topological setting, the geometric setting did not receive a lot of attention in practice. Prior work [Marcel Radermacher et al., 2018] is limited to the crossing-minimization in geometric graphs with less than 200 edges. The described heuristics base on the primitive operation of moving a single vertex v to its crossing-minimal position, i.e., the position in R^2 that minimizes the number of crossings on edges incident to v. In this paper, we introduce a technique to speed-up the computation by a factor of 20. This is necessary but not sufficient to cope with graphs with a few thousand edges. In order to handle larger graphs, we drop the condition that each vertex v has to be moved to its crossing-minimal position and compute a position that is only optimal with respect to a small random subset of the edges. In our theoretical contribution, we consider drawings that contain for each edge uv in E and each position p in R^2 for v o(|E|) crossings. In this case, we prove that with a random subset of the edges of size Theta(k log k) the co-crossing number of a degree-k vertex v, i.e., the number of edge pairs uv in E, e in E that do not cross, can be approximated by an arbitrary but fixed factor delta with high probability. In our experimental evaluation, we show that the randomized approach reduces the number of crossings in graphs with up to 13 000 edges considerably. The evaluation suggests that depending on the degree-distribution different strategies result in the fewest number of crossings

    Planarity of Streamed Graphs

    Full text link
    In this paper we introduce a notion of planarity for graphs that are presented in a streaming fashion. A streamed graph\textit{streamed graph} is a stream of edges e1,e2,...,eme_1,e_2,...,e_m on a vertex set VV. A streamed graph is ω\omega-stream planar\textit{stream planar} with respect to a positive integer window size ω\omega if there exists a sequence of planar topological drawings Γi\Gamma_i of the graphs Gi=(V,{ej∣i≤j<i+ω})G_i=(V,\{e_j \mid i\leq j < i+\omega\}) such that the common graph G∩i=Gi∩Gi+1G^{i}_\cap=G_i\cap G_{i+1} is drawn the same in Γi\Gamma_i and in Γi+1\Gamma_{i+1}, for 1≤i<m−ω1\leq i < m-\omega. The Stream Planarity\textit{Stream Planarity} Problem with window size ω\omega asks whether a given streamed graph is ω\omega-stream planar. We also consider a generalization, where there is an additional backbone graph\textit{backbone graph} whose edges have to be present during each time step. These problems are related to several well-studied planarity problems. We show that the Stream Planarity\textit{Stream Planarity} Problem is NP-complete even when the window size is a constant and that the variant with a backbone graph is NP-complete for all ω≥2\omega \ge 2. On the positive side, we provide O(n+ωm)O(n+\omega{}m)-time algorithms for (i) the case ω=1\omega = 1 and (ii) all values of ω\omega provided the backbone graph consists of one 22-connected component plus isolated vertices and no stream edge connects two isolated vertices. Our results improve on the Hanani-Tutte-style O((nm)3)O((nm)^3)-time algorithm proposed by Schaefer [GD'14] for ω=1\omega=1.Comment: 21 pages, 9 figures, extended version of "Planarity of Streamed Graphs" (9th International Conference on Algorithms and Complexity, 2015

    Partitioning Graph Drawings and Triangulated Simple Polygons into Greedily Routable Regions

    Get PDF
    A greedily routable region (GRR) is a closed subset of R2\mathbb R^2, in which each destination point can be reached from each starting point by choosing the direction with maximum reduction of the distance to the destination in each point of the path. Recently, Tan and Kermarrec proposed a geographic routing protocol for dense wireless sensor networks based on decomposing the network area into a small number of interior-disjoint GRRs. They showed that minimum decomposition is NP-hard for polygons with holes. We consider minimum GRR decomposition for plane straight-line drawings of graphs. Here, GRRs coincide with self-approaching drawings of trees, a drawing style which has become a popular research topic in graph drawing. We show that minimum decomposition is still NP-hard for graphs with cycles, but can be solved optimally for trees in polynomial time. Additionally, we give a 2-approximation for simple polygons, if a given triangulation has to be respected.Comment: full version of a paper appearing in ISAAC 201

    Orthogonal Graph Drawing with Inflexible Edges

    Full text link
    We consider the problem of creating plane orthogonal drawings of 4-planar graphs (planar graphs with maximum degree 4) with constraints on the number of bends per edge. More precisely, we have a flexibility function assigning to each edge ee a natural number flex(e)\mathrm{flex}(e), its flexibility. The problem FlexDraw asks whether there exists an orthogonal drawing such that each edge ee has at most flex(e)\mathrm{flex}(e) bends. It is known that FlexDraw is NP-hard if flex(e)=0\mathrm{flex}(e) = 0 for every edge ee. On the other hand, FlexDraw can be solved efficiently if flex(e)≥1\mathrm{flex}(e) \ge 1 and is trivial if flex(e)≥2\mathrm{flex}(e) \ge 2 for every edge ee. To close the gap between the NP-hardness for flex(e)=0\mathrm{flex}(e) = 0 and the efficient algorithm for flex(e)≥1\mathrm{flex}(e) \ge 1, we investigate the computational complexity of FlexDraw in case only few edges are inflexible (i.e., have flexibility~00). We show that for any ε>0\varepsilon > 0 FlexDraw is NP-complete for instances with O(nε)O(n^\varepsilon) inflexible edges with pairwise distance Ω(n1−ε)\Omega(n^{1-\varepsilon}) (including the case where they induce a matching). On the other hand, we give an FPT-algorithm with running time O(2k⋅n⋅Tflow(n))O(2^k\cdot n \cdot T_{\mathrm{flow}}(n)), where Tflow(n)T_{\mathrm{flow}}(n) is the time necessary to compute a maximum flow in a planar flow network with multiple sources and sinks, and kk is the number of inflexible edges having at least one endpoint of degree 4.Comment: 23 pages, 5 figure
    • …
    corecore