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

page 1

page 2

page 3

page 4

research
โˆ™ 04/13/2023

On a generalization of median graphs: k-median graphs

Median graphs are connected graphs in which for all three vertices there...
research
โˆ™ 02/25/2019

Succinct Data Structures for Families of Interval Graphs

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

An Efficient Noisy Binary Search in Graphs via Median Approximation

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

Planar Median Graphs and Cubesquare-Graphs

Median graphs are connected graphs in which for all three vertices there...
research
โˆ™ 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...
research
โˆ™ 06/07/2022

ABC(T)-graphs: an axiomatic characterization of the median procedure in graphs with connected and G^2-connected medians

The median function is a location/consensus function that maps any profi...
research
โˆ™ 07/30/2021

Assistance and Interdiction Problems on Interval Graphs

We introduce a novel framework of graph modifications specific to interv...

Please sign up or login with your details

Forgot password? Click here to reset