Conrado Martínez
Polytechnic University of Catalonia
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by Conrado Martínez.
Journal of the ACM | 1998
Conrado Martínez; Salvador Roura
In this paper, we present randomized algorithms over binary search trees such that: (a) the insertion of a set of keys, in any fixed order, into an initially empty tree always produces a random binary search tree; (b) the deletion of any key from a random binary search tree results in a random binary search tree; (c) the random choices made by the algorithms are based upon the sizes of the subtrees of the tree; this implies that we can support accesses by rank without additional storage requirements or modification of the data structures; and (d) the cost of any elementary operation, measured as the number of visited nodes, is the same as the expected cost of its standard deterministic counterpart; hence, all search and update operations have guaranteed expected cost O(log n), but now irrespective of any assumption on the input distribution.
SIAM Journal on Computing | 2002
Conrado Martínez; Salvador Roura
It is well known that the performance of quicksort can be improved by selecting the median of a sample of elements as the pivot of each partitioning stage. For large samples the partitions are better, but the amount of additional comparisons and exchanges to find the median of the sample also increases. We show in this paper that the optimal sample size to minimize the average total cost of quicksort, as a function of the size n of the current subarray size, is
Random Structures and Algorithms | 1997
Philippe Flajolet; Xavier Gourdon; Conrado Martínez
a\cdot \sqrt{n} + o(\sqrt{n}\,)
Random Structures and Algorithms | 1997
Peter Kirschenhofer; Helmut Prodinger; Conrado Martínez
. We give a closed expression for a, which depends on the selection algorithm and the costs of elementary comparisons and exchanges. Moreover, we show that selecting the medians of the samples as pivots is not the best strategy when exchanges are much more expensive than comparisons. We also apply the same ideas and techniques to the analysis of quickselect and get similar results.
SIAM Journal on Discrete Mathematics | 2009
Conrado Martínez; Lucia Moura; Daniel Panario; Brett Stevens
In a randomly grown binary search tree (BST) of size n, any fixed pattern occurs with a frequency that is on average proportional to n. Deviations from the average case are highly unlikely and well quantified by a Gaussian law. Trees with forbidden patterns occur with an exponentially small probability that is characterized in terms of Bessel functions. The results obtained extend to BSTs a type of property otherwise known for strings and combinatorial tree models. They apply to paged trees or to quicksort with halting on short subfiles. As a consequence, various pointer saving strategies for maintaining trees obeying the random BST model can be precisely quantified. The methods used are based on analytic models, especially bivariate generating functions subjected to singularity perturbation asymptotics.
international symposium on algorithms and computation | 1998
Amalia Duch; Vladimir Estivill-Castro; Conrado Martínez
Hoares Find algorithm can be used to select the jth element out of a file of n elements. It bears a remarkable similarity to Quicksort; in each pass of the algorithm, a pivot element is used to split the file into two subfiles, and recursively, the algorithm proceeds with the subfile that contains the sought element. As in Quicksort, different strategies for selecting the pivot are reasonable. In this paper, we consider the Median-of-three version, where the pivot element is chosen as the median of a random sample of three elements. We give explicit formulae for both the average number of passes and comparisons, when any relative ordering of the n elements in the file is equally likely.
Algorithmica | 2001
Conrado Martínez; Alois Panholzer; Helmut Prodinger
In this paper, we define and study error locating arrays (ELAs), which can be used in software testing for locating faulty interactions among parameters or components in a system. We give constructions of ELAs for arbitrary strength
mathematical foundations of computer science | 2003
Conrado Martínez; Xavier Molinero
t
Journal of Algorithms | 2002
Amalia Duch; Conrado Martínez
, based on covering arrays. We show that the number of tests given by ELAs grows as
Theoretical Computer Science | 1995
Peter Kirschenhofer; Conrado Martínez; Helmut Prodinger
O(\log k)