Papers
Topics
Authors
Recent
Search
2000 character limit reached

Interval Query Problem on Cube-free Median Graphs

Published 12 Oct 2020 in cs.DS | (2010.05652v3)

Abstract: In this paper, we introduce the \emph{interval query problem} on cube-free median graphs. Let GG be a cube-free median graph and S\mathcal{S} be a commutative semigroup. For each vertex vv in GG, we are given an element p(v)p(v) in S\mathcal{S}. For each query, we are given two vertices u,vu,v in GG and asked to calculate the sum of p(z)p(z) over all vertices zz belonging to a uvu-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<sup>2</sup>n)O(\log<sup>2</sup> n) time. The required data structure is constructed in O(nlog<sup>3</sup>n)O(n\log<sup>3</sup> n) time and O(nlog<sup>2</sup>n)O(n\log<sup>2</sup> n) space. To obtain our algorithm, we introduce a new technique, named the \emph{stairs decomposition}, to decompose an interval of cube-free median graphs into simpler substructures.

Authors (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.