693 research outputs found

    Succinct Representations of Permutations and Functions

    Get PDF
    We investigate the problem of succinctly representing an arbitrary permutation, \pi, on {0,...,n-1} so that \pi^k(i) can be computed quickly for any i and any (positive or negative) integer power k. A representation taking (1+\epsilon) n lg n + O(1) bits suffices to compute arbitrary powers in constant time, for any positive constant \epsilon <= 1. A representation taking the optimal \ceil{\lg n!} + o(n) bits can be used to compute arbitrary powers in O(lg n / lg lg n) time. We then consider the more general problem of succinctly representing an arbitrary function, f: [n] \rightarrow [n] so that f^k(i) can be computed quickly for any i and any integer power k. We give a representation that takes (1+\epsilon) n lg n + O(1) bits, for any positive constant \epsilon <= 1, and computes arbitrary positive powers in constant time. It can also be used to compute f^k(i), for any negative integer k, in optimal O(1+|f^k(i)|) time. We place emphasis on the redundancy, or the space beyond the information-theoretic lower bound that the data structure uses in order to support operations efficiently. A number of lower bounds have recently been shown on the redundancy of data structures. These lower bounds confirm the space-time optimality of some of our solutions. Furthermore, the redundancy of one of our structures "surpasses" a recent lower bound by Golynski [Golynski, SODA 2009], thus demonstrating the limitations of this lower bound.Comment: Preliminary versions of these results have appeared in the Proceedings of ICALP 2003 and 2004. However, all results in this version are improved over the earlier conference versio

    Parameterized Algorithms on Perfect Graphs for deletion to (r,β„“)(r,\ell)-graphs

    Get PDF
    For fixed integers r,β„“β‰₯0r,\ell \geq 0, a graph GG is called an {\em (r,β„“)(r,\ell)-graph} if the vertex set V(G)V(G) can be partitioned into rr independent sets and β„“\ell cliques. The class of (r,β„“)(r, \ell) graphs generalizes rr-colourable graphs (when β„“=0)\ell =0) and hence not surprisingly, determining whether a given graph is an (r,β„“)(r, \ell)-graph is \NP-hard even when rβ‰₯3r \geq 3 or β„“β‰₯3\ell \geq 3 in general graphs. When rr and β„“\ell are part of the input, then the recognition problem is NP-hard even if the input graph is a perfect graph (where the {\sc Chromatic Number} problem is solvable in polynomial time). It is also known to be fixed-parameter tractable (FPT) on perfect graphs when parameterized by rr and β„“\ell. I.e. there is an f(r+\ell) \cdot n^{\Oh(1)} algorithm on perfect graphs on nn vertices where ff is some (exponential) function of rr and β„“\ell. In this paper, we consider the parameterized complexity of the following problem, which we call {\sc Vertex Partization}. Given a perfect graph GG and positive integers r,β„“,kr,\ell,k decide whether there exists a set SβŠ†V(G)S\subseteq V(G) of size at most kk such that the deletion of SS from GG results in an (r,β„“)(r,\ell)-graph. We obtain the following results: \begin{enumerate} \item {\sc Vertex Partization} on perfect graphs is FPT when parameterized by k+r+β„“k+r+\ell. \item The problem does not admit any polynomial sized kernel when parameterized by k+r+β„“k+r+\ell. In other words, in polynomial time, the input graph can not be compressed to an equivalent instance of size polynomial in k+r+β„“k+r+\ell. In fact, our result holds even when k=0k=0. \item When r,β„“r,\ell are universal constants, then {\sc Vertex Partization} on perfect graphs, parameterized by kk, has a polynomial sized kernel. \end{enumerate
    • …
    corecore