finite word
Recently Published Documents


TOTAL DOCUMENTS

165
(FIVE YEARS 7)

H-INDEX

16
(FIVE YEARS 0)

Informatics ◽  
2021 ◽  
Vol 8 (3) ◽  
pp. 54
Author(s):  
Constantinos Chalatsis ◽  
Constantin Papaodysseus ◽  
Dimitris Arabadjis ◽  
Athanasios Rafail Mamatsis ◽  
Nikolaos V. Karadimas

A first aim of the present work is the determination of the actual sources of the “finite precision error” generation and accumulation in two important algorithms: Bernoulli’s map and the folded Baker’s map. These two computational schemes attract the attention of a growing number of researchers, in connection with a wide range of applications. However, both Bernoulli’s and Baker’s maps, when implemented in a contemporary computing machine, suffer from a very serious numerical error due to the finite word length. This error, causally, causes a failure of these two algorithms after a relatively very small number of iterations. In the present manuscript, novel methods for eliminating this numerical error are presented. In fact, the introduced approach succeeds in executing the Bernoulli’s map and the folded Baker’s map in a computing machine for many hundreds of thousands of iterations, offering results practically free of finite precision error. These successful techniques are based on the determination and understanding of the substantial sources of finite precision (round-off) error, which is generated and accumulated in these two important chaotic maps.



2021 ◽  
Vol Volume 17, Issue 3 ◽  
Author(s):  
Victor Marsault

Let p/q be a rational number. Numeration in base p/q is defined by a function that evaluates each finite word over A_p={0,1,...,p-1} to some rational number. We let N_p/q denote the image of this evaluation function. In particular, N_p/q contains all nonnegative integers and the literature on base p/q usually focuses on the set of words that are evaluated to nonnegative integers; it is a rather chaotic language which is not context-free. On the contrary, we study here the subsets of (N_p/q)^d that are p/q-recognisable, i.e. realised by finite automata over (A_p)^d. First, we give a characterisation of these sets as those definable in a first-order logic, similar to the one given by the B\"uchi-Bruy\`ere Theorem for integer bases numeration systems. Second, we show that the natural order relation and the modulo-q operator are not p/q-recognisable.



Algorithms ◽  
2021 ◽  
Vol 14 (3) ◽  
pp. 68
Author(s):  
Joachim Niehren ◽  
Momar Sakho

We consider the problem of determinizing and minimizing automata for nested words in practice. For this we compile the nested regular expressions (NREs) from the usual XPath benchmark to nested word automata (NWAs). The determinization of these NWAs, however, fails to produce reasonably small automata. In the best case, huge deterministic NWAs are produced after few hours, even for relatively small NREs of the benchmark. We propose a different approach to the determinization of automata for nested words. For this, we introduce stepwise hedge automata (SHAs) that generalize naturally on both (stepwise) tree automata and on finite word automata. We then show how to determinize SHAs, yielding reasonably small deterministic automata for the NREs from the XPath benchmark. The size of deterministic SHAs automata can be reduced further by a novel minimization algorithm for a subclass of SHAs. In order to understand why the new approach to determinization and minimization works so nicely, we investigate the relationship between NWAs and SHAs further. Clearly, deterministic SHAs can be compiled to deterministic NWAs in linear time, and conversely NWAs can be compiled to nondeterministic SHAs in polynomial time. Therefore, we can use SHAs as intermediates for determinizing NWAs, while avoiding the huge size increase with the usual determinization algorithm for NWAs. Notably, the NWAs obtained from the SHAs perform bottom-up and left-to-right computations only, but no top-down computations. This NWA behavior can be distinguished syntactically by the (weak) single-entry property, suggesting a close relationship between SHAs and single-entry NWAs. In particular, it turns out that the usual determinization algorithm for NWAs behaves well for single-entry NWAs, while it quickly explodes without the single-entry property. Furthermore, it is known that the class of deterministic multi-module single-entry NWAs enjoys unique minimization. The subclass of deterministic SHAs to which our novel minimization algorithm applies is different though, in that we do not impose multiple modules. As further optimizations for reducing the sizes of the constructed SHAs, we propose schema-based cleaning and symbolic representations based on apply-else rules that can be maintained by determinization. We implemented the optimizations and report the experimental results for the automata constructed for the XPathMark benchmark.



2021 ◽  
Vol 55 ◽  
pp. 1
Author(s):  
Josef Rukavicka

A finite word w of length n contains at most n + 1 distinct palindromic factors. If the bound n + 1 is attained, the word w is called rich. An infinite word w is called rich if every finite factor of w is rich. Let w be a word (finite or infinite) over an alphabet with q > 1 letters, let Facw(n) be the set of factors of length n of the word w, and let Palw(n) ⊆ Facw(n) be the set of palindromic factors of length n of the word w. We present several upper bounds for |Facw(n)| and |Palw(n)|, where w is a rich word. Let δ = [see formula in PDF]. In particular we show that |Facw(n)| ≤ (4q2n)δ ln 2n+2. In 2007, Baláži, Masáková, and Pelantová showed that |Palw(n)|+|Palw(n+1)| ≤ |Facw(n+1)|-|Facw(n)|+2, where w is an infinite word whose set of factors is closed under reversal. We prove this inequality for every finite word v with |v| ≥ n + 1 and v(n + 1) closed under reversal.



Author(s):  
Borzoo Bonakdarpour ◽  
Sarai Sheinvald
Keyword(s):  




Sign in / Sign up

Export Citation Format

Share Document