Salvador Roura

dblp:r/SalvadorRoura · DBLP profile ↗
← Back
19ranked-venue papers
6as first author
2since 2021 · last 2025
0000-0003-4394-5939ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 13 · 5 first-author · 1 since 2021Applied, interdisciplinary, general and emerging computing · 4 · 1 first-authorHuman-computer interaction and ubiquitous computing · 3Artificial intelligence and machine learning · 1 · 1 since 2021
YearPublicationVenuePosition
2025 Weightedness measures from inequality systems
abstract
A simple game is a cooperative game where some coalitions among players or voters became the (monotonic) set of winning coalitions, and the other ones form the set of losing coalitions. It is well-known that weighted voting games form a strict subclass of simple games, where each player has a voting weight so that a coalition wins if and only if the sum of weights of their members exceeds a given quota, otherwise it loses. This work studies how far away a simple game is for being representable as a weighted voting game, which allows for a more compact representation. There are several measures that determine the weightedness of a simple game, such as the dimension, the trade-robustness, the critical threshold value associated with the α -roughly weightedness property, etc. In this work we propose some new weightedness measures, all based on linear programming. In general terms, for a given simple game, a linear program is used to identify its weightedness: (i) the ϵ -roughly value ( μ ϵ ), (ii) the Z + -roughly value ( μ Z + ), (iii) the Δ-roughly value ( μ Δ ), and (iv) the outlier value ( Ψ M ). We show a close relation between the known critical threshold value of weightedness and the new measure μ Δ . Finally, we also present an exhaustive comparison of weightedness measures for simple games with up to six players. • We define new weightedness measures for simple games from inequality systems. • We introduce a new weightedness measure for simple games based on outlier coalitions. • This manuscript provides a comparison of the known α -roughly value with other new weightedness values. • We exhaustively compute some weightedness measures for all simple games up to 7 players.
Maria Albareda-Sambola, Xavier Molinero, Salvador Roura
Int. J. Approx. Reason.3
2022 Median and Hybrid Median K-Dimensional Trees
Amalia Duch Brown, Conrado Martínez, Mercè Pons, Salvador Roura
LATIN4
2016 Quad-kd trees: A general framework for kd trees and quad trees
Nikolett Bereczky, Amalia Duch Brown, Krisztián Németh, Salvador Roura
Theor. Comput. Sci.4
2014 Better Feedback for Educational Online Judges
abstract
The verdicts of most online programming judges are, essentially, binary: the submitted codes are either “good enough” or not. Whilst this policy is appropriate for competitive or recruitment platforms, it can hinder the adoption of online judges on educative settings, where it could be adequate to provide better feedback to a student (or instructor) that has submitted a wrong code. An obvious option would be to just show him or her an instance where the code fails. However, that particular instance could be not very significant, and so could induce unreflectively patching the code. The approach considered in this paper is to data mine all the past incorrect submissions by all the users of the judge, so to extract a small subset of private test cases that may be relevant to most future users. Our solution is based on parsing the test files, building a bipartite graph, and solving a Set Cover problem by means of Integer Linear Programming. We have tested our solution with a hundred problems in Jutge.org. Those experiments suggest that our approach is general, efficient, and provides high quality results.
Anaga Mani, Divya Venkataramani, Jordi Petit, Salvador Roura
CSEDU (2)4
2014 Quad-K-d Trees
Nikolett Bereczky, Amalia Duch Brown, Krisztián Németh, Salvador Roura
LATIN4
2014 Multikey Quickselect
Leonor Frias, Salvador Roura
Algorithmica2
2013 Fun in CS2
Amalia Duch Brown, Jordi Petit, Enric Rodríguez-Carbonell, Salvador Roura
CSEDU4
2013 Fibonacci BSTs: A new balancing method for binary search trees
Salvador Roura
Theor. Comput. Sci.1
2012 Jutge.org: an educational programming judge
abstract
Jutge.org is an open access educational online programming judge where students can try to solve more than 800 problems using 22 programming languages. The verdict of their solutions is computed using exhaustive test sets run under time, memory and security restrictions. By contrast to many popular online judges, Jutge.org is designed for students and instructors: On one hand, the problem repository is mainly aimed to beginners, with a clear organization and gradding. On the other hand, the system is designed as a virtual learning environment where instructors can administer their own courses, manage their roster of students and tutors, add problems, attach documents, create lists of problems, assignments, contests and exams. This paper presents Jutge.org and offers some case studies of courses using it.
Jordi Petit, Omer Giménez, Salvador Roura
SIGCSE3
2007 Minimal Representations for Majority Games
Josep Freixas, Xavier Molinero, Salvador Roura
CiE3
2001 A New Method for Balancing Binary Search Trees
Salvador Roura
ICALP1
2001 Improved master theorems for divide-and-conquer recurrences
abstract
This paper presents new theorems to analyze divide-and-conquer recurrences, which improve other similar ones in several aspects. In particular, these theorems provide more information, free us almost completely from technicalities like floors and ceilings, and cover a wider set of toll functions and weight distributions, stochastic recurrences included.
Salvador Roura
J. ACM1
2001 Optimal Sampling Strategies in Quicksort and Quickselect
abstract
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 $a\cdot \sqrt{n} + o(\sqrt{n}\,)$. 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.
Conrado Martínez, Salvador Roura
SIAM J. Comput.2
2000 On the competitiveness of the move-to-front rule
Conrado Martínez, Salvador Roura
Theor. Comput. Sci.2
1999 Improving Mergesort for Linked Lists
Salvador Roura
ESA1
1998 Optimal Sampling Strategies in Quicksort
Conrado Martínez, Salvador Roura
ICALP2
1998 Randomized Binary Search Trees
abstract
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.
Conrado Martínez, Salvador Roura
J. ACM2
1997 An Improved Master Theorem for Divide-and-Conquer Recurrences
Salvador Roura
ICALP1
1996 Randomization of Search Trees by Subtree Size
Salvador Roura, Conrado Martínez
ESA1