Interval Query Problem on Cube-free Median Graphs

10/12/2020
โˆ™
by   Soh Kumabe, et al.
โˆ™
0
โˆ™

In this paper, we introduce the interval query problem on cube-free median graphs. Let G be a cube-free median graph and ๐’ฎ be a commutative semigroup. For each vertex v in G, we are given an element p(v) in ๐’ฎ. For each query, we are given two vertices u,v in G and asked to calculate the sum of p(z) over all vertices z belonging to a u-v shortest path. This is a common generalization of range query problems on trees and grids. In this paper, we provide an algorithm to answer each interval query in O(log^2 n) time. The required data structure is constructed in O(nlog^3 n) time and O(nlog^2 n) space. To obtain our algorithm, we introduce a new technique, named the stairs decomposition, to decompose an interval of cube-free median graphs into simpler substructures.

READ FULL TEXT
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 2

page 3

page 4

โˆ™ 09/20/2018

L_1 Shortest Path Queries in Simple Polygons

Let P be a simple polygon of n vertices. We consider two-point L_1 short...
โˆ™ 02/25/2019

Succinct Data Structures for Families of Interval Graphs

We consider the problem of designing succinct data structures for interv...
โˆ™ 04/30/2020

An Efficient Noisy Binary Search in Graphs via Median Approximation

Consider a generalization of the classical binary search problem in line...
โˆ™ 10/18/2021

Planar Median Graphs and Cubesquare-Graphs

Median graphs are connected graphs in which for all three vertices there...
โˆ™ 11/14/2021

A Simple Algorithm for Multiple-Source Shortest Paths in Planar Digraphs

Given an n-vertex planar embedded digraph G with non-negative edge weigh...
โˆ™ 05/30/2019

Compact Data Structures for Shortest Unique Substring Queries

Given a string T of length n, a substring u = T[i.. j] of T is called a ...
โˆ™ 06/04/2018

Efficient Genomic Interval Queries Using Augmented Range Trees

Efficient large-scale annotation of genomic intervals is essential for p...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.