Hasil untuk "cs.DS"

Menampilkan 20 dari ~192 hasil · dari DOAJ, arXiv

JSON API
arXiv Open Access 2023
Sparse Partial-Tracing

Julio Candanedo

Matrices and more generally multidimensional arrays, form the backbone of computational studies. In this paper we demonstrate increases in computational efficiency by performing partial-tracing/tensor-contractions on sparse-arrays. It was shown that sparse-arrays are really 3 dense-arrays (dense-shape, index-array, and data-array). Dense-array manipulations of these constituent arrays are used to determine the resulting partial-trace. Because computational arrays are used in a verity of different studies, these methods are broadly applicable.

en cs.DS, cs.DM
arXiv Open Access 2021
Simple, Optimal Algorithms for Random Sampling Without Replacement

Daniel Ting

Consider the fundamental problem of drawing a simple random sample of size k without replacement from [n] := {1, . . . , n}. Although a number of classical algorithms exist for this problem, we construct algorithms that are even simpler, easier to implement, and have optimal space and time complexity.

en cs.DS, stat.CO
arXiv Open Access 2021
A Better-Than-2 Approximation for Weighted Tree Augmentation

Vera Traub, Rico Zenklusen

We present an approximation algorithm for Weighted Tree Augmentation with approximation factor $1+\ln 2 + \varepsilon < 1.7$. This is the first algorithm beating the longstanding factor of $2$, which can be achieved through many standard techniques.

en cs.DS, math.OC
arXiv Open Access 2020
Simple and sharp analysis of k-means||

Václav Rozhoň

We present a simple analysis of k-means|| (Bahmani et al., PVLDB 2012) -- a distributed variant of the k-means++ algorithm (Arthur and Vassilvitskii, SODA 2007). Moreover, the bound on the number of rounds is improved from $O(\log n)$ to $O(\log n / \log\log n)$, which we show to be tight.

en cs.DS
arXiv Open Access 2019
An FPT algorithm for orthogonal buttons and scissors

Dekel Tsur

We study the puzzle game Buttons and Scissors in which the goal is to remove all buttons from an $n\times m$ grid by a series of horizontal and vertical cuts. We show that the corresponding parameterized problem has an algorithm with time complexity $2^{O(k^2 \log k)} (n+m)^{O(1)}$, where $k$ is an upper bound on the number of cuts.

en cs.DS
arXiv Open Access 2019
Loop Programming Practices that Simplify Quicksort Implementations

Shoupu Wan

Quicksort algorithm with Hoare's partition scheme is traditionally implemented with nested loops. In this article, we present loop programming and refactoring techniques that lead to simplified implementation for Hoare's quicksort algorithm consisting of a single loop. We believe that the techniques are beneficial for general programming and may be used for the discovery of more novel algorithms.

en cs.DS
arXiv Open Access 2019
A Simple Solution to the Level-Ancestor Problem

Gaurav Menghani, Dhruv Matani

A Level Ancestory query LA($u$, $d$) asks for the the ancestor of the node $u$ at a depth $d$. We present a simple solution, which pre-processes the tree in $O(n)$ time with $O(n)$ extra space, and answers the queries in $O(\log\ {n})$ time. Though other optimal algorithms exist, this is a simple enough solution that could be taught and implemented easily.

en cs.DS
arXiv Open Access 2019
Testing Unateness Nearly Optimally

Xi Chen, Erik Waingarten

We present an $\tilde{O}(n^{2/3}/ε^2)$-query algorithm that tests whether an unknown Boolean function $f\colon\{0,1\}^n\rightarrow \{0,1\}$ is unate (i.e., every variable is either non-decreasing or non-increasing) or $ε$-far from unate. The upper bound is nearly optimal given the $\tildeΩ(n^{2/3})$ lower~bound of [CWX17a]. The algorithm builds on a novel use of the binary search procedure and its analysis over long random paths.

en cs.DS
arXiv Open Access 2017
Characterizing and Enumerating Walsh-Hadamard Transform Algorithms

François Serre, Markus Püschel

We propose a way of characterizing the algorithms computing a Walsh-Hadamard transform that consist of a sequence of arrays of butterflies ($I_{2^{n-1}}\otimes \text{DFT}_2$) interleaved by linear permutations. Linear permutations are those that map linearly the binary representation of its element indices. We also propose a method to enumerate these algorithms.

en cs.DS, cs.DM
arXiv Open Access 2013
Another Disjoint Compression Algorithm for OCT

R. Krithika, N. S. Narayanaswamy

We describe an elegant O*(2^k) algorithm for the disjoint compression problem for Odd Cycle Transversal based on a reduction to Above Guarantee Vertex Cover. We believe that this algorithm refines the understanding of the Odd Cycle Transversal algorithm by Reed, Smith and Vetta.

en cs.DS
arXiv Open Access 2013
LZ-Compressed String Dictionaries

Julian Arz, Johannes Fischer

We show how to compress string dictionaries using the Lempel-Ziv (LZ78) data compression algorithm. Our approach is validated experimentally on dictionaries of up to 1.5 GB of uncompressed text. We achieve compression ratios often outperforming the existing alternatives, especially on dictionaries containing many repeated substrings. Our query times remain competitive.

en cs.DS
arXiv Open Access 2010
Feedback Vertex Set in Mixed Graphs

Paul Bonsma, Daniel Lokshtanov

A mixed graph is a graph with both directed and undirected edges. We present an algorithm for deciding whether a given mixed graph on $n$ vertices contains a feedback vertex set (FVS) of size at most $k$, in time $2^{O(k)}k! O(n^4)$. This is the first fixed parameter tractable algorithm for FVS that applies to both directed and undirected graphs.

en cs.DS
arXiv Open Access 2009
Oscillations and Random Perturbations of a FitzHugh-Nagumo System

Catherine Doss, Michèle Thieullen

We consider a stochastic perturbation of a FitzHugh-Nagumo system. We show that it is possible to generate oscillations for values of parameters which do not allow oscillations for the deterministic system. We also study the appearance of a new equilibrium point and new bifurcation parameters due to the noisy component.

en cs.DS
arXiv Open Access 2009
Max Edge Coloring of Trees

Giorgio Lucarelli, Ioannis Milis, Vangelis Th. Paschos

We study the weighted generalization of the edge coloring problem where the weight of each color class (matching) equals to the weight of its heaviest edge and the goal is to minimize the sum of the colors' weights. We present a 3/2-approximation algorithm for trees.

en cs.DS

Halaman 17 dari 10