SearcharxivSearch

arXiv subjects

Gabriel Marques Domingues

Publications and source records attributed to Gabriel Marques Domingues.

2 recordsLinked to original sources

Dynamic Edge Orientation via Random Walks: From Trees to Outerplanar Graphs and Beyond

We study the \emph{fully dynamic edge orientation problem}, focusing on \emph{worst-case} time bounds. An undirected graph undergoes edge insertions and deletions, and the goal is to maintain an orientation with small {\em maximum outdegree} (hereafter, outdegree) and small worst-case update time. The outdegree of any orientation is at least $α-1$, where $α$ is the graph's \emph{arboricity}, i.e., the minimum number of forests into which its edge set can be partitioned. When $α= O(1)$, it is long known that both the outdegree and the worst-case update time can be bounded by $O(\log n)$. Despite numerous follow-ups, no $o(\log^3 n)$ worst-case update time is known for maintaining constant outdegree, even for very basic graph families---with a notable exception, \emph{forests}. For forests, a \emph{simple folklore} algorithm maintains outdegree 2 via \emph{random walks}: When an insertion creates a vertex of outdegree 3, the algorithm repeatedly chooses a uniformly random outgoing edge until reaching a vertex of outdegree at most 1, and then flips the resulting directed path. As the underlying graph is cycle-free, the path length is easily shown to be $O(\log n)$ in expectation, and also with high probability for polynomially long update sequences. We prove that this simple random walk paradigm extends to \emph{outerplanar graphs}. Our algorithm maintains constant outdegree with $O(\log n)$ worst-case update time, where the time bound holds in expectation, and also with high probability for polynomially long update sequences. We give a \emph{tight analysis}: outdegree 4 is achievable with $O(\log n)$-length paths, while outdegree 3 incurs $\mathtt{poly}(n)$-length paths. We also extend the argument to $K_{2,t}$-minor-free graphs, for any $t \ge 2$, with the outdegree bound depending only on $t$ and with the same update time guarantees. The locality of [...]

cs.DS

Compressing Dynamic Fully Indexable Dictionaries in Word-RAM

We study the problem of constructing a dynamic fully indexable dictionary (FID) in the Word-RAM model using space close to the information-theoretic lower bound. A FID is a data-structure that encodes a bit-vector $B$ of length $u$ and answers, for $b\in\{0,1\}$, $\texttt{rank}_b(B, x)=|{\{y\leq x~|~B[y]=b\}}|$ and $\texttt{select}_b(B, r)=\min\{0\leq x<u~|~\texttt{rank}_b(B, x)=r\}$ ($-1$ if empty). A dynamic FID supports updates that modify a single bit of $B$, i.e., $B[i]\gets b$. We work in the Word-RAM model with $w$-bit words, assuming $w\geq \operatorname{lg} u$. Integer multiplication takes $\mathcal{O}(1)$ time. Our memory model is $\mathcal{M}_B$, allowing access to a fixed precomputed table of $τ=\operatorname{polylog}(w)$ words, which can be computed in $\mathcal{O}(wτ)$ time. In this paper, we show a dynamic FID based on the famous fusion-tree data-structure of P{ă}tra{ş}cu and Thorup [FOCS 2014], modified to use fewer bits and to support $\texttt{select}_0$. Let $n$ denote the number of ones in $B$. We describe a parametric construction: for every $ε\leq 1/2$, there is a dynamic FID using $$\operatorname{lg}\binom{u}{n}+\mathcal{O}(nw^ε/ε)\text{ bits}$$ taking $\mathcal{O}({1/ε+\log_w(n)})$ time for $\texttt{rank}_0/\texttt{rank}_1/\texttt{select}_0$ and updates, and $\mathcal{O}({\log_w(n)})$ time for $\texttt{select}_1$. All time bounds are worst-case. For $ε={1/\sqrt{\operatorname{lg} w}}$, we reduce the space to $\operatorname{lg}\binom{u}{n}+\mathcal{O}(n\log w)$ bits. For $ε=Θ(1)$, the running time matches the lower bound of Fredman and Saks [STOC 1989]. This is the first deterministic dynamic FID in the standard Word-RAM model that achieves $o(n\sqrt{w})$ bits of redundancy in $\mathcal{M}_B$ (e.g., $ε=1/4$), and optimal worst-case time.

cs.DS