منابع مشابه
Computing Majority with Triple Queries
Consider a bin containing n balls colored with two colors. In a k-query, k balls are selected by a questioner and the oracle’s reply is related (depending on the computation model being considered) to the distribution of colors of the balls in this k-tuple; however, the oracle never reveals the colors of the individual balls. Following a number of queries the questioner is said to determine the...
متن کاملComputing majority with low-fan-in majority queries
In this paper we examine the problem of computing majority functionMAJn on n bits by depthtwo formula, where each gate is a majority function on at most k inputs. We present such formula that gives the first nontrivial upper bound for this problem, with k = 2 3n + 4. This answers an open question in [7]. We also look at this problem in adaptive setting — when we are allowed to query for value o...
متن کاملEncodings for Range Majority Queries
We face the problem of designing a data structure that can report the majority within any range of an array A[1, n], without storing A. We show that Ω(n) bits are necessary for such a data structure, and design a structure using O(n log∗ n) bits that answers majority queries in O(logn) time. We extend our results to τ -majorities.
متن کاملComputing SQL Queries with Boolean Aggregates
We introduce a new method for optimization of SQL queries with nested subqueries. The method is based on the idea of Boolean aggregates, aggregates that compute the conjunction or disjunction of a set of conditions. When combined with grouping, Boolean aggregates allow us to compute all types of non-aggregated subqueries in a uniform manner. The resulting query trees are simple and amenable to ...
متن کاملComputing Functions with Parallel Queries to NP
The class p 2 of languages polynomial-time truth-table reducible to sets in NP has a wide range of diierent characterizations. We consider several functional versions of p 2 based on these characterizations. We show that in this way the three function classes FL NP log , FP NP log , and FP NP k are obtained. In contrast to the language case the function classes seem to all be diierent. We give ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Theoretical Computer Science
سال: 2012
ISSN: 0304-3975
DOI: 10.1016/j.tcs.2012.03.039