Interval Query Problem on Cube-free Median Graphs
Abstract
In this paper, we introduce the \emph{interval query problem} on cube-free median graphs. Let be a cube-free median graph and be a commutative semigroup. For each vertex in , we are given an element in . For each query, we are given two vertices in and asked to calculate the sum of over all vertices belonging to a 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 time. The required data structure is constructed in time and 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.
Cite
@article{arxiv.2010.05652,
title = {Interval Query Problem on Cube-free Median Graphs},
author = {Soh Kumabe},
journal= {arXiv preprint arXiv:2010.05652},
year = {2022}
}
Comments
ISAAC'21, 21 pages