Jus Measuring: Algorithm and Complexity
نویسنده
چکیده
We study the water jug problem and obtain new lower and upper bounds on the minimum number of measuring steps. These bounds are tight and significantly improve previous results. We prove that to compute the crucial number μc(x) (i.e., min x=x·c ||x||1, where c ∈ N, x ∈ N, ||x||1 = ∑n i=1 |xi|) for estimating the minimum measuring steps is indeed a problem in P . Moreover, we prove that testing whether μc(x) is bounded by a fixed number is indeed NP-complete and thus the optimal jug measuring problem is NP-hard, which was also proved independently by [6]. Finally, we give a pseudo-polynomial time algorithm for computing μc(x) and a polynomial time algorithm, which is based on LLL basis reduction algorithm, for approximating the minimum number of jug measuring steps efficiently.
منابع مشابه
The Theoretical Foundations of Jus Cogens in International Law
International Law has it's Constituent elements (legal systems, regimes and collections of rules); Those have interrelations from which legal networks are created. Having this in mind, the question is whether these Constituent elements only have horizental nexus or are ordered by means of factors which unified them in a vertical manner and because of that International Law is named legal orde...
متن کاملFair Joint User Scheduling Based on Best Cqi for Carrier Aggregation in Lte-advanced
Carrier Aggregation (CA) is one of the main features in Long Term Evolution– Advanced (LTE-A). CA allows the target peak data rates in excess of 1 Gbps in the downlink and 500 Mbps in the uplink to be achieved by aggregating multiple component carriers (CCs) of 20 MHz for each CC. When CA is being put to use, it is vital to complement LTE-A systems with a robust and suitable resource scheduling...
متن کاملReconsidering US Immigration Reform: The Temporal Principle of Citizenship
The uncertain political status of America's millions of undocumented immigrants and their children has exposed deep and ongoing disagreement about how US citizenship should be accorded to foreign-born persons. I identify the principle of jus temporis, a law of measured calendrical time, that has worked in concert with jus soli and consent to construct citizenship law since the nation's founding...
متن کاملJus cogens در نظام حقوق بین الملل
پدیداریمفاهیمجدیدیچون Jus cogens وObligationserga omnesحاکیازتغییراتودگرگونیهایاساسیدرماهیتحقوقبینالمللمیباشد. بازنگریدرنظامسنتیمنابعحقوقبینالمللوایجادسلسلهمراتبماهویوسستشدنبنیانهاینظریهیفروپاشیجامعهبینالمللیازپیامدهایمستقیمظهورایندستهازتعهداتعامالشمولولازمالاجرامیباشد. برخورداریازاقبالعمومیودکترین،تحدیدحاکمیتدولتهابااعتقادبهالزامآوربودنقواعدjus cogens وکمرنگشدنعنصررضایتدولتها،کم...
متن کاملAn Algorithm to Compute the Complexity of a Static Production Planning (RESEARCH NOTE)
Complexity is one of the most important issues of any production planning. The increase in complexity of production planning can cause inconsistency between a production plan and an actual outcome. The complexity generally can be divided in two categories, the static complexity and the dynamic complexity, which can be computed using the ant ropy formula. The formula considers the probability of...
متن کامل