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.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.