- Research Article
24
- 10.1016/j.tcs.2006.10.030
Binary matrices under the microscope: A tomographical problem
- Nov 10, 2006
- Theoretical Computer Science
- Andrea Frosini + 1 more +1
Binary matrices under the microscope: A tomographical problem
X-codes are special linear maps for a compression technique, called X-compact. In the context of integrated circuit testing, an (m, n, d, x) X-code is an $m\times n$ binary matrix which compresses n-bit output from the circuit under test into $m$ bits while allowing for detecting the existence of up to $d$ erroneous output bits even if up to $x$ bits of the correct behavior are unknowable. In particular, X-codes of constant column weight x+1 are of special interest for practical reasons. While it is known that there exist infinite series of (m, n, 1, 2) X-codes of constant weight 3 with $n=\Theta(m^{2})$ , here we show that for $d\geq 4$ the largest possible $n$ is $o(m^{2})$ . This is an application of extremal graph theory and the first asymptotic improvement on this problem. We also investigate a special class of X-codes of constant weight 3 with a design theoretic property that boosts test quality when there are fewer unknowable bits than anticipated. We improve the tightest known lower bound on the largest number $n$ of columns of an X-code of this kind through probabilistic combinatorics. A deterministic algorithm is also given that produces X-codes of this type attaining the improved bound and runs in time polynomial in $m$ .
Binary matrices under the microscope: A tomographical problem
Binary matrices under the microscope: A tomographical problem
On the Maximum Number of Codewords of X-Codes of Constant Weight Three
X-codes form a special class of linear maps which were originally introduced for data compression in VLSI testing and are also known to give special parity-check matrices for linear codes suitable for error-erasure channels. In the context of circuit testing, an (m, n, d, x) X-code compresses n-bit output data R from the circuit under test into m bits, while allowing for detecting the existence of an up to d-bit-wise anomaly in R even if up to x bits of the original uncompressed R are unknowable to the tester. Using probabilistic combinatorics, we give a nontrivial lower bound for any d ≥ 2 on the maximum number n of codewords such that an (m, n, d, 2) X-code of constant weight 3 exists. This is the first result that shows the existence of an infinite sequence of X-codes whose compaction ratio tends to infinity for any fixed d under severe weight restrictions. We also give a deterministic polynomial-time algorithm that produces X-codes that achieve our bound.
Read moreAlmost all primes can be quickly certified
This paper presents a new probabilistie primality test. Upon termination the test outputs "composite" or "prime", along with a short proof of correctness, which can be verified in deterministic polynomial time. The test is different from the tests of Miller [M], Solovay-Strassen [SSI, and Rabin [R] in that its assertions of primality are certain, rather than being correct with high probability or dependent on an unproven assumption.
Read moreByzantine Gathering in Polynomial Time
Gathering a group of mobile agents is a fundamental task in the field of distributed and mobile systems. This can be made drastically more difficult to achieve when some agents are subject to faults, especially the Byzantine ones that are known as being the worst faults to handle. In this paper we study, from a deterministic point of view, the task of Byzantine gathering in a network modeled as a graph. In other words, despite the presence of Byzantine agents, all the other (good) agents, starting from {possibly} different nodes and applying the same deterministic algorithm, have to meet at the same node in finite time and stop moving. An adversary chooses the initial nodes of the agents (the number of agents may be larger than the number of nodes) and assigns a different positive integer (called label) to each of them. Initially, each agent knows its label. The agents move in synchronous rounds and can communicate with each other only when located at the same node. Within the team, f of the agents are Byzantine. A Byzantine agent acts in an unpredictable and arbitrary way. For example, it can choose an arbitrary port when it moves, can convey arbitrary information to other agents and can change its label in every round, in particular by forging the label of another agent or by creating a completely new one. Besides its label, which corresponds to a local knowledge, an agent is assigned some global knowledge denoted by GK that is common to all agents. In literature, the Byzantine gathering problem has been analyzed in arbitrary n-node graphs by considering the scenario when GK=(n,f) and the scenario when GK=f. In the first (resp. second) scenario, it has been shown that the minimum number of good agents guaranteeing deterministic gathering of all of them is f+1 (resp. f+2). However, for both these scenarios, all the existing deterministic algorithms, whether or not they are optimal in terms of required number of good agents, have the major disadvantage of having a time complexity that is exponential in n and L, where L is the value of the largest label belonging to a good agent. In this paper, we seek to design a deterministic solution for Byzantine gathering that makes a concession on the proportion of Byzantine agents within the team, but that offers a significantly lower complexity. We also seek to use a global knowledge whose the length of the binary representation (that we also call size) is small. In this respect, assuming that the agents are in a strong team i.e., a team in which the number of good agents is at least some prescribed value that is quadratic in f, we give positive and negative results. On the positive side, we show an algorithm that solves Byzantine gathering with all strong teams in all graphs of size at most n, for any integers n and f, in a time polynomial in n and the length |l_{min}| of the binary representation of the smallest label of a good agent. The algorithm works using a global knowledge of size O(log log log n), which is of optimal order of magnitude in our context to reach a time complexity that is polynomial in n and |l_{min}|. Indeed, on the negative side, we show that there is no deterministic algorithm solving Byzantine gathering with all strong teams, in all graphs of size at most n, in a time polynomial in n and |l_{min}| and using a global knowledge of size o(log log log n).
Read moreAutomating cutting planes is NP-hard
We show that Cutting Planes (CP) proofs are hard to find: Given an unsatisfiable formula F, It is -hard to find a CP refutation of F in time polynomial in the length of the shortest such refutation; and unless Gap-Hitting-Set admits a nontrivial algorithm, one cannot find a tree-like CP refutation of F in time polynomial in the length of the shortest such refutation.
Read moreA deterministic subexponential algorithm for solving parity games
The existence of polynomial time algorithms for the solution of parity games is a major open problem. The fastest known algorithms for the problem are randomized algorithms that run in subexponential time. These algorithms are all ultimately based on the randomized subexponential simplex algorithms of Kalai and of Matousek, Sharir and Welzl. Randomness seems to play an essential role in these algorithms. We use a completely different, and elementary, approach to obtain a deterministic subexponential algorithm for the solution of parity games. Our deterministic algorithm is almost as fast as the randomized algorithms mentioned above.
Read moreAdditive Approximation for Edge-Deletion Problems
A graph property is monotone if it is closed under removal of vertices and edges. In this paper we consider the following edge-deletion problem; given a monotone property P and a graph G, compute the smallest number of edge deletions that are needed in order to turn G into a graph satisfying P. We denote this quantity by E/sub P/'(G). The first result of this paper states that the edge-deletion problem can be efficiently approximated for any monotone property. 1) For any /spl epsiv/ > 0 and any monotone property P, there is a deterministic algorithm, which given a graph G of size n, approximates E/sub P/'(G) in time O(n/sup 2/) to within an additive error of /spl epsiv/n/sup 2/. Given the above, a natural question is for which monotone properties one can obtain better additive approximations of E/sub P/'. Our second main result essentially resolves this problem by giving a precise characterization of the monotone graph properties for which such approximations exist; 1. If there is a bipartite graph that does not satisfy P, then there is a /spl delta/ > 0 for which it is possible to approximate E/sub P/' to within an additive error of n/sup 2-/spl delta// in polynomial time. 2) On the other hand, if all bipartite graphs satisfy P, then for any /spl delta/ > 0 it is NP-hard to approximate E/sub P/' to within an additive error of n/sup 2-/spl delta//. While the proof of (1) is simple, the proof of (2) requires several new ideas and involves tools from extremal graph theory together with spectral techniques. This approach may be useful for obtaining other hardness of approximation results. Interestingly, prior to this work it was not even known that computing E/sub P/' precisely for the properties in (2) is NP-hard. We thus answer (in a strong form) a question of Yannakakis [1981], who asked in 1981 if it is possible to find a large and natural family of graph properties for which computing E/sub P/' is NP-hard.
Read moreQuantum computers that can be simulated classically in polynomial time
A model of quantum computation based on unitary matrix operations was introduced by Feynman and Deutsch. It has been asked whether the power of this model exceeds that of classical Turing machines. We show here that a significant class of these quantum computations can be simulated classically in polynomial time. In particular we show that two-bit operations characterized by 4 \times 4 matrices in which the sixteen entries obey a set of five polynomial relations can be composed according to certain rules to yield a class of circuits that can be simulated classically in polynomial time. This contrasts with the known universality of two-bit operations, and demonstrates that efficient quantum computation of restricted classes is reconcilable with the Polynomial Time Turing Hypothesis. In other words it is possible that quantum phenomena can be used in a scalable fashion to make computers but that they do not have superpolynomial speedups compared to Turing machines for any problem. The techniques introduced bring the quantum computational model within the realm of algebraic complexity theory. In a manner consistent will one view of quantum physics, the wave function is simulated deterministically, and randomization arises only in the course of making measurements. The results generalize the quantum model in that they do not require the matrices to be unitary. In a different direction these techniques also yield deterministic polynomial time algorithms for the decision and parity problems for certain classes of read-twice Boolean formulae. All our results are based on the use of gates that are defined in terms of their graph matching properties.
Read moreEfficient algorithms for Lempel-Ziv encoding
We consider several basic problems for texts and show that if the input texts are given by their Lempel-Ziv codes then the problems can be solved deterministically in polynomial time in the case when the original (uncompressed) texts are of exponential size. The growing importance of massively stored information requires new approaches to algorithms for compressed texts without decompressing. Denote by LZ(ω) the version of a string ω produced by Lempel-Ziv encoding algorithm. For given compressed strings LZ(T), LZ(P) we give the first known deterministic polynomial time algorithms to compute compressed representations of the set of all occurrences of the pattern P in T, all periods of T, all palindromes of T, and all squares of T. Then we consider several classical language recognition problems: We show that the first recognition problem has a polynomial time algorithm and the other two problems are NP-hard. We show also that the LZ encoding can be computed on-line in polynomial time delay and small space (i.e. proportional to the size of the compressed text). Also the compressed representation of a patternmatching automaton for the compressed pattern is computed in polynomial time.
Read moreA Note on Deterministic Poly-Time Algorithms for Partition Functions Associated with Boolean Matrices with Prescribed Row and Column Sums
We prove a new efficiently computable lower bound on the coefficients of stable homogeneous polynomials and present its algorthmic and combinatorial applications. Our main application is the first poly-time deterministic algorithm which approximates the partition functions associated with boolean matrices with prescribed row and column sums within simply exponential multiplicative factor. This new algorithm is a particular instance of new polynomial time deterministic algorithms related to the multiple partial differentiation of polynomials given by evaluation oracles.
Read moreAverage polynomial time complexity of some NP-complete problems
Average polynomial time complexity of some NP-complete problems
Test Suite Prioritization Using Nature Inspired Meta-Heuristic Algorithms
Real World is filled with various hard and complex problems. One such complex problem is an optimization problem. Optimization has been an active area of research for several decades. Optimized solutions are hard to find so there are no deterministic algorithms that can find exact solution in polynomial time. In large domain of applications of intelligence techniques we are interested in exploring the application of Biographical Based Optimization (BBO) and Grey Wolf Optimizer (GWO) meta-heuristic algorithm to the domain of software testing. The GWO mimics the leadership hierarchy and hunting mechanism of grey wolves in nature. In this paper we adapt BBO and GWO for test suite prioritization and minimization and evaluate their performance with other nature inspired meta-heuristics.
Read moreQuery complexity of generalized Simon's problem
Query complexity of generalized Simon's problem
Hybrid genetic algorithms for timetabling
Hybrid genetic algorithms are presented that use optimization heuristics and genetic techniques to outperform all existing programs for the timetabling problem. The timetabling problem is very hard (NP-complete) and a general polynomial time deterministic algorithm is not known. An artificial intelligence approach, in a logic programming environment, may be useful for such a problem. The decomposition and classification of constraints and the constraint ordering to obtain the minimization of the backtracking and the maximization of the parallelism are illustrated. The school timetabling problem is discussed in detail as a case study. The genetic algorithm approach is particularly well suited for this kind of problem, since there exists an easy way to assess a good timetable but not a well-structured automatic technique for constructing it. So, a population of timetables is created that evolves toward the best solutions. The evaluation function and the genetic operators are well separated from the domain-specific parts, such as the problem knowledge and the heuristics, i.e.. from the timetable builder. A fundamental issue and a general problem in the decision process and automated reasoning is how to efficiently obtain logic decisions under disjunctive constraints. Logic constraint satisfaction problems are in general NP-hard and a general deterministic polynomial time algorithm is not known. The present article illustrates an approach based on the hybridization of constrained heuristic search with novel genetic algorithm techniques. It compares favorably with the best-known programs to solve decisions problems under logic constraints. Complexity of the new algorithms and results of significant experiments are reported.
Read moreDeterministic Algorithm for Coded Cooperative Data Exchange
We consider the problem of cooperative data exchange in a group of wireless clients. In this problem each client initially holds a subset of packets and needs to obtain all packets held by other clients. Each client can broadcast its own packets or a combinations thereof to other clients via an error-free broadcast channel. Assuming that clients know which packets are available to other clients, our goal is to minimize the total number of transmissions needed to satisfy the demands of all clients. We present a deterministic algorithm that computes an optimal solution to this problem in polynomial time.
Read more