Abstract

We consider the problem of designing a succinct data structure for path graphs, that generalizes interval graphs, on n vertices while efficiently supporting degree, adjacency, and neighbourhood queries. We provide the following two solutions for this problem:1.an nlog⁡n+o(nlog⁡n)-bit succinct data structure that supports adjacency query in O(log⁡n) time, neighbourhood query in O(dlog⁡n) time and finally, degree query in min⁡{O(log2⁡n),O(dlog⁡n)} time where d is the degree of the queried vertex.2.an O(nlog2⁡n)-bit space-efficient data structure that supports adjacency, neighborhood, and degree queries optimally. Central to our data structures is the usage of the heavy path decomposition, followed by careful bookkeeping using an orthogonal range search data structure using wavelet trees among others, which may be of independent interest for designing succinct data structures for other graph classes.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call