Testing of sequences by simulation
Antal Iv\'anyi, Bal\'azs Nov\'ak

TL;DR
This paper introduces several algorithms to test whether a random integer sequence contains all distinct elements, analyzing their efficiency through simulation for small and large sequence lengths.
Contribution
It presents new algorithms for sequence goodness testing and evaluates their performance via simulation across different input sizes.
Findings
Algorithms effectively determine sequence distinctness.
Performance varies with input size and algorithm.
Simulation provides insights into comparison counts and runtime.
Abstract
Let be a random integer vector, having uniform distribution \[\mathbf{P} \{\xi = (i_1,i_2,...,i_n) = 1/n^n \} \ \hbox{for} \ 1 \leq i_1,i_2,...,i_n\leq n.\] A realization of is called \textit{good}, if its elements are different. We present algorithms \textsc{Linear}, \textsc{Backward}, \textsc{Forward}, \textsc{Tree}, \textsc{Garbage}, \textsc{Bucket} which decide whether a given realization is good. We analyse the number of comparisons and running time of these algorithms using simulation gathering data on all possible inputs for small values of and generating random inputs for large values of .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · semigroups and automata theory
