41 research outputs found

    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

    New Approaches to Classic Graph-Embedding Problems - Orthogonal Drawings & Constrained Planarity

    Get PDF
    Drawings of graphs are often used to represent a given data set in a human-readable way. In this thesis, we consider different classic algorithmic problems that arise when automatically generating graph drawings. More specifically, we solve some open problems in the context of orthogonal drawings and advance the current state of research on the problems clustered planarity and simultaneous planarity

    On the External Validity of Average-Case Analyses of Graph Algorithms

    Get PDF
    The number one criticism of average-case analysis is that we do not actually know the probability distribution of real-world inputs. Thus, analyzing an algorithm on some random model has no implications for practical performance. At its core, this criticism doubts the existence of external validity, i.e., it assumes that algorithmic behavior on the somewhat simple and clean models does not translate beyond the models to practical performance real-world input. With this paper, we provide a first step towards studying the question of external validity systematically. To this end, we evaluate the performance of six graph algorithms on a collection of 2751 sparse real-world networks depending on two properties; the heterogeneity (variance in the degree distribution) and locality (tendency of edges to connect vertices that are already close). We compare this with the performance on generated networks with varying locality and heterogeneity. We find that the performance in the idealized setting of network models translates surprisingly well to real-world networks. Moreover, heterogeneity and locality appear to be the core properties impacting the performance of many graph algorithms

    Deterministic Performance Guarantees for Bidirectional BFS on Real-World Networks

    Get PDF
    A common technique to speed up shortest path queries in graphs is to use a bidirectional search, i.e., performing a forward search from the start and a backward search from the destination until a common vertex on a shortest path is found. In practice, this has a tremendous impact on the performance on some real-world networks, while it only seems to save a constant factor on other types of networks. Even though finding shortest paths is a ubiquitous problem, there are only few studies attempting to understand the apparently asymptotic speedups on some networks, using average case analysis on certain models for real-world networks. In this paper we give a new perspective on this, by analyzing deterministic properties that permit theoretical analysis and that can easily be checked on any particular instance. We prove that these parameters imply sublinear running time for the bidirectional breadth-first search in several regimes, some of which are tight. Moreover, we perform experiments on a large set of real-world networks showing that our parameters capture the concept of practical running time well
    corecore