8 research outputs found

    Triangles and Girth in Disk Graphs and Transmission Graphs

    Get PDF
    Let S subset R^2 be a set of n sites, where each s in S has an associated radius r_s > 0. The disk graph D(S) is the undirected graph with vertex set S and an undirected edge between two sites s, t in S if and only if |st| <= r_s + r_t, i.e., if the disks with centers s and t and respective radii r_s and r_t intersect. Disk graphs are used to model sensor networks. Similarly, the transmission graph T(S) is the directed graph with vertex set S and a directed edge from a site s to a site t if and only if |st| <= r_s, i.e., if t lies in the disk with center s and radius r_s. We provide algorithms for detecting (directed) triangles and, more generally, computing the length of a shortest cycle (the girth) in D(S) and in T(S). These problems are notoriously hard in general, but better solutions exist for special graph classes such as planar graphs. We obtain similarly efficient results for disk graphs and for transmission graphs. More precisely, we show that a shortest (Euclidean) triangle in D(S) and in T(S) can be found in O(n log n) expected time, and that the (weighted) girth of D(S) can be found in O(n log n) expected time. For this, we develop new tools for batched range searching that may be of independent interest

    Insertion-Only Dynamic Connectivity in General Disk Graphs

    Full text link
    Let SR2S \subseteq \mathbb{R}^2 be a set of nn \emph{sites} in the plane, so that every site sSs \in S has an \emph{associated radius} rs>0r_s > 0. Let D(S)D(S) be the \emph{disk intersection graph} defined by SS, i.e., the graph with vertex set SS and an edge between two distinct sites s,tSs, t \in S if and only if the disks with centers ss, tt and radii rsr_s, rtr_t intersect. Our goal is to design data structures that maintain the connectivity structure of D(S)D(S) as SS changes dynamically over time. We consider the incremental case, where new sites can be inserted into SS. While previous work focuses on data structures whose running time depends on the ratio between the smallest and the largest site in SS, we present a data structure with O(α(n))O(\alpha(n)) amortized query time and O(log6n)O(\log^6 n) expected amortized insertion time.Comment: 7 pages, 6 figures. Presented at EuroCG 2023. This version corrects a missing log-factor in the insertion tim

    Dynamic Connectivity in Disk Graphs

    Get PDF
    Let S ⊆ R2 be a set of n sites in the plane, so that every site s ∈ S has an associated radius rs > 0. Let D(S) be the disk intersection graph defined by S, i.e., the graph with vertex set S and an edge between two distinct sites s, t ∈ S if and only if the disks with centers s, t and radii rs , rt intersect. Our goal is to design data structures that maintain the connectivity structure of D(S) as sites are inserted and/or deleted in S. First, we consider unit disk graphs, i.e., we fix rs = 1, for all sites s ∈ S. For this case, we describe a data structure that has O(log2 n) amortized update time and O(log n/ log log n) query time. Second, we look at disk graphs with bounded radius ratio Ψ, i.e., for all s ∈ S, we have 1 ≤ rs ≤ Ψ, for a parameter Ψ that is known in advance. Here, we not only investigate the fully dynamic case, but also the incremental and the decremental scenario, where only insertions or only deletions of sites are allowed. In the fully dynamic case, we achieve amortized expected update time O(Ψ log4 n) and query time O(log n/ log log n). This improves the currently best update time by a factor of Ψ. In the incremental case, we achieve logarithmic dependency on Ψ, with a data structure that has O(α(n)) amortized query time and O(log Ψ log4 n) amortized expected update time, where α(n) denotes the inverse Ackermann function. For the decremental setting, we first develop an efficient decremental disk revealing data structure: given two sets R and B of disks in the plane, we can delete disks from B, and upon each deletion, we receive a list of all disks in R that no longer intersect the union of B. Using this data structure, we get decremental data structures with a query time of O(log n/ log log n) that supports deletions in O(n log Ψ log4 n) overall expected time for disk graphs with bounded radius ratio Ψ and O(n log5 n) overall expected time for disk graphs with arbitrary radii, assuming that the deletion sequence is oblivious of the internal random choices of the data structures

    Geometrische Graphen: Erreichbarkeit, lange Bäume und kurze Kreise

    No full text
    Given a set S of n point sites, a geometric graph is a graph with S as its vertex set whose edges are drawn as line segments connecting the sites. The edges that are present between these sites can be defined by geometric properties of the site set. When talking about weighted edges, the weight of the edge connecting s and t is the Euclidean distance between s and t. One such class of graphs are spanning trees of the point set. That is, an acyclic graph defined on S such that all sites lie in the same connected component. To define the second broad class of geometric graphs considered in this thesis, we extend each site with a radius. In this setting the sites can also be interpreted as disks, by using the site as the center. We consider two kinds of geometrically defined graphs on these extended sites. The first are disk graphs D(S). In a disk graph two sites are connected with an edge if and only if their corresponding disks intersect. The second type of graphs are transmission graphs T(S). These can be seen as a directed version of disk graphs. In a transmission graph a site s has a directed edge to a site t, if and only if t is contained in the disk defined by s. We consider three main types of problems on these graphs: TRIANGLES AND GIRTH IN DISK GRAPHS AND TRANSMISSION GRAPHS We give algorithms for finding a (shortest) triangle and more generally for finding short cycles. In general graphs, finding substantially faster algorithms than the naive approach is notoriously hard. However, better algorithms for special graph classes such as planar graphs exist in the literature. In this thesis, we obtain similarly efficient results for disk graphs and for transmission graphs. More precisely, we show that in a transmission graph a triangle can be detected and a shortest such triangle can be found in O(n log n) expected time. Furthermore, the weighted girth of a disk graph can be found within the same time bound. We also show that cycle with k edges in a transmission graph can be identified in O(n log n)+ n2^{O(k)} expected time. For the results on transmission graphs, we develop batched range query data structures that are of independent interest. DYNAMIC DISK GRAPH CONNECTIVITY We consider the problem of designing data structures that maintain a disk graph under the deletion of sites, while allowing interleaved connectivity queries. First we consider the setting, where each site has a radius in the range [1,Ψ] for some fixed value Ψ. In this scenario, we give a data structure that supports m deletions in O( (n log^5 n + m log^9 n) λ_6(log n) + n logΨ log^4 n) overall expected time, with O((log n)/(log log n)) query time, where λ_6(n) is the length of a Davenport-Schinzel sequence of order 6. If we consider disk graphs without bounding the maximal allowed radius, we obtain a data structure that supports m deletions in O( (n log^6 n + m log^{10}n) λ_6(\log n) ) overall expected time, with the same O((log n)/(log log n)) time bound for queries. LONG PLANE TREES We also consider spanning trees on the site set S. To be precise, we aim to find a plane spanning tree Topt of S that maximizes the total edge length |Topt|. Despite more than two decades of research, it remains open if this problem is NP-hard. We take two approaches to the problem. The first is to follow the venue of approximation algorithms which was also the focus of previous research. We describe a polynomial-time algorithm to construct a plane tree Talg with diameter at most four and |Talg| >= 0.546 |Topt|, where |Topt| is the total edge length of an optimal plane spanning tree. This constitutes a significant improvement over the state of the art. Second, we consider exact polynomial time algorithms for trees of bounded diameter. We give an O(n^4) time algorithm for finding an exact solution for trees of diameter at most three and then extend this algorithm to special trees of diameter at most four.Ein geometrischer Graph auf einer Menge von Punkten S⊆R^2 ist ein Graph mit S als Knotenmenge, dessen Kanten durch Strecken zwischen den Punkten dargestellt werden. Die Punkte können hierbei durch Angabe eines Radius auf Kreisscheiben erweitert werden. Die Kantenmenge wird dabei durch geometrische Eigenschaften von S definiert. In dieser Arbeit werden zwei Klassen von geometrischen Graphen betrachtet: Spannbäume und Graphen die auf Kreisscheiben definiert sind. Die zweite Klasse unterteilen wir in Disk Graphen und Transmissionsgraphen. Zwei Knoten in einem Disk Graphen sind mit einer Kante verbunden, wenn sich die zugehörigen Kreisschreiben schneiden. In einem Transmissionsgraphen sind zwei Knoten s und t verbunden, wenn t in der von s definierten Kreisscheibe liegt. Wir betrachten drei Arten von Problemen auf geometrischen Graphen: DREIECKE UND TAILLENWEITE IN DISK GRAPHEN UND TRANSMISSIONSGRAPHEN Für Transmissionsgraphen beschreiben wir je einen Algorithmus, der ein Dreieck beziehungsweise ein kürzestes Dreieck in O(n\log n) erwarteter Zeit finden kann. Die Länge eines kürzesten gewichteten Kreises eines Disk Graphen, kann mit gleichem Zeitaufwand gefunden werden. Für Kreise mit maximal k Kanten in Transmissionsgraphen zeigen wir, dass diese in O(n log n)+n*2^{O(k)} erwarteter Zeit gefunden werden können. Für alle Ergebnisse in Transmissionsgraphen entwickeln wir Datenstrukturen für gesammelte Bereichsabfragen, die von unabhängigem Interesse sind. DYNAMISCHE ZUSAMMENHANGSABFRAGEN IN DISK GRAPHEN Wir beschreiben verschiedene Datenstrukturen für Disk Graphen, die es erlauben einzelne Knoten zu löschen und Anfragen, ob zwei Knoten in der gleichen Zusammenhangskomponente liegen zu beantworten. Für die Situation in der alle Punkte einen Radius im Intervall [1,Ψ] haben, beschreiben wir eine Datenstruktur mit O((\log n)/(log log n)) amorisierter Anfragezeit, welche m Löschvorgänge in insgesamt O((n \log^5 n + m log^9 n) λ_6(\log n) + n logΨ log^4 n) erwarteter Zeit bearbeiten kann. Wenn der maximal erlaubte Radius nicht beschränkt ist, kann die Datenstrukur so erweitert werden, dass m Löschvorgänge in O((n log^6 n + m log^{10} n ) λ_6(\log n)) erwarteter Laufzeit durchgeführt werden können, ohne das sich die Anfragezeit verändert. LANGE PLANARE SPANNBÄUME Wir betrachten zudem noch das Problem einen planaren Spannbaum mit maximaler Gesamtlänge zu finden. In diesem Zusammenhang beschreiben wir einen Approximationsalgorithmus, der einen Approximationsfaktor von 0.5467 erreicht. Zudem geben wir eine obere Schranke des Approximationsfaktors von 5/6 an, der von einem Baum mit Graphdurchmesser drei erreicht werden kann. Wir betrachten auch genaue Algorithmen für Sonderfälle. Mithilfe des Paradigmas der dynamischen Programmierung beschreiben wir einen Algorithmus, der in polynomieller Zeit den längsten Spannbaum mit Graphdurchmesser maximal drei findet. Dieser wird auf spezielle Bäume mit Graphdurchmesser maximal vier erweitert

    Long Plane Trees

    Get PDF
    In the longest plane spanning tree problem, we are given a finite planar point set ?, and our task is to find a plane (i.e., noncrossing) spanning tree T_OPT for ? with maximum total Euclidean edge length |T_OPT|. Despite more than two decades of research, it remains open if this problem is NP-hard. Thus, previous efforts have focused on polynomial-time algorithms that produce plane trees whose total edge length approximates |T_OPT|. The approximate trees in these algorithms all have small unweighted diameter, typically three or four. It is natural to ask whether this is a common feature of longest plane spanning trees, or an artifact of the specific approximation algorithms. We provide three results to elucidate the interplay between the approximation guarantee and the unweighted diameter of the approximate trees. First, we describe a polynomial-time algorithm to construct a plane tree T_ALG with diameter at most four and |T_ALG| ? 0.546 ? |T_OPT|. This constitutes a substantial improvement over the state of the art. Second, we show that a longest plane tree among those with diameter at most three can be found in polynomial time. Third, for any candidate diameter d ? 3, we provide upper bounds on the approximation factor that can be achieved by a longest plane tree with diameter at most d (compared to a longest plane tree without constraints)

    Dynamic Connectivity in Disk Graphs

    Get PDF

    Long Plane Trees

    No full text
    In the longest plane spanning tree problem, we are given a finite planar point set P, and our task is to find a plane (i.e., noncrossing) spanning tree TOPT for P with maximum total Euclidean edge length |TOPT|. Despite more than two decades of research, it remains open if this problem is NP-hard. Thus, previous efforts have focused on polynomial-time algorithms that produce plane trees whose total edge length approximates |TOPT|. The approximate trees in these algorithms all have small unweighted diameter, typically three or four. It is natural to ask whether this is a common feature of longest plane spanning trees, or an artifact of the specific approximation algorithms. We provide three results to elucidate the interplay between the approximation guarantee and the unweighted diameter of the approximate trees. First, we describe a polynomial-time algorithm to construct a plane tree TALG with diameter at most four and |TALG| = 0.546 · |TOPT|. This constitutes a substantial improvement over the state of the art. Second, we show that a longest plane tree among those with diameter at most three can be found in polynomial time. Third, for any candidate diameter d = 3, we provide upper bounds on the approximation factor that can be achieved by a longest plane tree with diameter at most d (compared to a longest plane tree without constraints).ISSN:1868-896
    corecore