Marco Almeida
University of Porto
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Marco Almeida.
Theoretical Computer Science | 2007
Marco Almeida; Nelma Moreira; Rogério Reis
In general, the representation of combinatorial objects is decisive for the feasibility of several enumerative tasks. In this work, we show how a (unique) string representation for (complete) initially-connected deterministic automata (ICDFAs) with n states over an alphabet of k symbols can be used for counting, exact enumeration, sampling and optimal coding, not only the set of ICDFAs but, to some extent, the set of regular languages. An exact generation algorithm can be used to partition the set of ICDFAs in order to parallelize the counting of minimal automata (and thus of regular languages). We present also a uniform random generator for ICDFAs that uses a table of pre-calculated values. Based on the same table it is also possible to obtain an optimal coding for ICDFAs.
International Journal of Foundations of Computer Science | 2009
Marco Almeida; Nelma Moreira; Rogério Reis
Antimirov and Mosses proposed a rewrite system for deciding the equivalence of two (extended) regular expressions. They argued that this method could lead to a better average-case algorithm than those based on the comparison of the equivalent minimal deterministic finite automata. In this paper we present a functional approach to that method, prove its correctness, and give some experimental comparative results. Besides an improved functional version of Antimirov and Mossess algorithm, we present an alternative one using partial derivatives. Our preliminary results lead to the conclusion that, indeed, these methods are feasible and, most of the time, faster than the classical methods.
International Journal of Foundations of Computer Science | 2008
Marco Almeida; Nelma Moreira; Rogério Reis
We give a canonical representation for minimal acyclic deterministic finite automata (MADFA) with n states over an alphabet of k symbols. Using this normal form, we present a method for the exact generation of MADFAs. This method avoids a rejection phase that would be needed if a generation algorithm for a larger class of objects that contains the MADFAs were used. We give upper and lower bounds for MADFAs enumeration and some exact formulas for small values of n.
Theoretical Informatics and Applications | 2014
Marco Almeida; Nelma Moreira; Rogério Reis
We present a new incremental algorithm for minimising deterministic finite automata. It runs in quadratic time for any practical application and may be halted at any point, returning a partially minimised automaton. Hence, the algorithm may be applied to a given automaton at the same time as it is processing a string for acceptance. We also include some experimental comparative results.
international conference on implementation and application of automata | 2008
Marco Almeida; Nelma Moreira; Rogério Reis
Antimirov and Mosses proposed a rewrite system for deciding the equivalence of two (extended) regular expressions. In this paper we present a functional approach to that method, prove its correctness, and give some experimental comparative results. Besides an improved version of Antimirov and Mossess algorithm, we present a version using partial derivatives. Our preliminary results lead to the conclusion that, indeed, these methods are feasible and, generally, faster than the classical methods.
DCFS | 2009
Marco Almeida; Nelma Moreira; Rogério Reis
The minimal deterministic finite automaton is generally used to determine regular languages equality. Antimirov and Mosses proposed a rewrite system for deciding regular expressions equivalence of which Almeida et al. presented an improved variant. Hopcroft and Karp pro- posed an almost linear algorithm for testing the equivalence of two de- terministic finite automata that avoids minimisation. In this paper we improve the best-case running time, present an extension of this algo- rithm to non-deterministic finite automaton, and establish a relationship between this algorithm and the one proposed in Almeida et al. We also present some experimental comparative results. All these algorithms are closely related with the recent coalgebraic approach to automata pro- posed by Rutten.
arXiv: Formal Languages and Automata Theory | 2009
Rogério Reis; Nelma Moreira; Marco Almeida
arXiv: Formal Languages and Automata Theory | 2009
Marco Almeida; Nelma Moreira; Rogério Reis
Journal of Automata, Languages and Combinatorics | 2010
Marco Almeida; Nelma Moreira; Rogério Reis
Handbook of Finite State Based Models and Applications | 2012
Marco Almeida; Nelma Moreira; Rogério Reis