Computation Model and Complexity Class. 2 An algorithmic process that uses the result of a random draw to make an approximated decision has the ability.

Slides:



Advertisements
Similar presentations
Models of Computation Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 1, Lecture 2.
Advertisements

Isolation Technique April 16, 2001 Jason Ku Tao Li.
Cook’s Theorem The Foundation of NP-Completeness.
Order Statistics Sorted
“Devo verificare un’equivalenza polinomiale…Che fò? Fò dù conti” (Prof. G. Di Battista)
Theory of Computing Lecture 16 MAS 714 Hartmut Klauck.
Recap CS605: The Mathematics and Theory of Computer Science.
Probabilistic algorithms Section 10.2 Giorgi Japaridze Theory of Computability.
Randomized Algorithms Kyomin Jung KAIST Applied Algorithm Lab Jan 12, WSAC
Probabilistic Algorithms Michael Sipser Presented by: Brian Lawnichak.
Computability and Complexity 14-1 Computability and Complexity Andrei Bulatov Cook’s Theorem.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
P ROBABILISTIC T URING M ACHINES Stephany Coffman-Wolph Wednesday, March 28, 2007.
CS21 Decidability and Tractability
BPP Contained in PH By Michael Sipser; Clemens Lautemann Clemens Lautemann Presenter: Jie Meng.
CS151 Complexity Theory Lecture 7 April 20, 2004.
Perfect and Statistical Secrecy, probabilistic algorithms, Definitions of Easy and Hard, 1-Way FN -- formal definition.
Randomized Computation Roni Parshani Orly Margalit Eran Mantzur Avi Mintz
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
CS151 Complexity Theory Lecture 7 April 20, 2015.
Submitted by : Estrella Eisenberg Yair Kaufman Ohad Lipsky Riva Gonen Shalom.
Randomized Computation
Quantum Automata Formalism. These are general questions related to complexity of quantum algorithms, combinational and sequential.
Complexity ©D. Moshkovitz 1 And Randomized Computations The Polynomial Hierarchy.
Study Group Randomized Algorithms Jun 7, 2003 Jun 14, 2003.
1 Randomness in Computation Example 1: Breaking symmetry. Example 2: Finding witnesses. Example 3: Monte Carlo integration. Example 4: Approximation algorithms.
CS 310 – Fall 2006 Pacific University CS310 Complexity Section 7.1 November 27, 2006.
Halting Problem. Background - Halting Problem Common error: Program goes into an infinite loop. Wouldn’t it be nice to have a tool that would warn us.
Section 11.4 Language Classes Based On Randomization
One Complexity Theorist’s View of Quantum Computing Lance Fortnow NEC Research Institute.
Randomized Turing Machines
Theory of Computing Lecture 15 MAS 714 Hartmut Klauck.
The Complexity of Primality Testing. What is Primality Testing? Testing whether an integer is prime or not. – An integer p is prime if the only integers.
Approximation Algorithms Pages ADVANCED TOPICS IN COMPLEXITY THEORY.
Complexity theory and combinatorial optimization Class #2 – 17 th of March …. where we deal with decision problems, finite automata, Turing machines pink.
NP Complexity By Mussie Araya. What is NP Complexity? Formal Definition: NP is the set of decision problems solvable in polynomial time by a non- deterministic.
1 2 Probabilistic Computations  Extend the notion of “efficient computation” beyond polynomial-time- Turing machines.  We will still consider only.
. CLASSES RP AND ZPP By: SARIKA PAMMI. CONTENTS:  INTRODUCTION  RP  FACTS ABOUT RP  MONTE CARLO ALGORITHM  CO-RP  ZPP  FACTS ABOUT ZPP  RELATION.
PROBABILISTIC COMPUTATION By Remanth Dabbati. INDEX  Probabilistic Turing Machine  Probabilistic Complexity Classes  Probabilistic Algorithms.
Fall 2013 CMU CS Computational Complexity Lectures 8-9 Randomness, communication, complexity of unique solutions These slides are mostly a resequencing.
Computability Heap exercise. The class P. The class NP. Verifiers. Homework: Review RELPRIME proof. Find examples of problems in NP.
1Computer Sciences Department. Book: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference 3Computer Sciences Department.
ICS 353: Design and Analysis of Algorithms
NP-Completness Turing Machine. Hard problems There are many many important problems for which no polynomial algorithms is known. We show that a polynomial-time.
Computability Review homework. Video. Variations. Definitions. Enumerators. Hilbert's Problem. Algorithms. Summary Homework: Give formal definition of.
Analysis of Algorithms Spring semester 2002 Uri Zwick
NP-Completeness  For convenience, the theory of NP - Completeness is designed for decision problems (i.e. whose solution is either yes or no).  Abstractly,
Optimization/Decision Problems Optimization Problems – An optimization problem is one which asks, “What is the optimal solution to problem X?” – Examples:
NP ⊆ PCP(n 3, 1) Theory of Computation. NP ⊆ PCP(n 3,1) What is that? NP ⊆ PCP(n 3,1) What is that?
Instructor: Shengyu Zhang 1. Optimization Very often we need to solve an optimization problem.  Maximize the utility/payoff/gain/…  Minimize the cost/penalty/loss/…
Theory of Computational Complexity TA : Junichi Teruyama Iwama lab. D3
Pseudo-randomness. Randomized complexity classes model: probabilistic Turing Machine –deterministic TM with additional read-only tape containing “coin.
Chapters 11 and 12 Decision Problems and Undecidability.
PROBABILITY AND COMPUTING RANDOMIZED ALGORITHMS AND PROBABILISTIC ANALYSIS CHAPTER 1 IWAMA and ITO Lab. M1 Sakaidani Hikaru 1.
Complexity Theory in Practice
NP-Completeness A problem is NP-complete if: It is in NP
Umans Complexity Theory Lectures
Formal Foundations-II [Theory of Automata]
Probabilistic Algorithms
Introduction to the Theory of Computation
Turing Machines Space bounds Reductions Complexity classes
Turing Machines.
Uncountable Classical and Quantum Complexity Classes
Theory of Computability
Complexity Theory in Practice
CS21 Decidability and Tractability
CS151 Complexity Theory Lecture 7 April 23, 2019.
Instructor: Aaron Roth
Theory of Computability
ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS
Presentation transcript:

Computation Model and Complexity Class

2 An algorithmic process that uses the result of a random draw to make an approximated decision has the ability to estimate reasonable solutions. Random problem classes use probabilities to describe their correctness in a polynomial run time. These definitions give rise to some further complexity classes. Like a (deterministic) Turing machine, but we allow the machine to flip coins during the computation, and transitions can depend on the outcomes of the flips. Equivalently, a randomized Turing machine can be implemented as a deterministic Turing machine with an additional read-only input tape for inputting a random stream of 0’s and 1’s.

3 Finite control Random bits Scatch tape(s) Input

4 Randomized Polynomial time (RP) Random polynomial algorithms accept input with probability 50% or more if the input is a member of the language. If the input is not a member, the algorithms accept the input with zero probability. More formal definition: Defintion2.6.1 The class RP consists of all languages L that have a randomized algorithm A running in worst- case polynomial time such that for any input x in ∑*,

5 Zero-error Probabilistic Polynomial time Defintion2.6.2 The class ZPP (for Zero-error Probabilistic time) is the class of languages that have Las Vegas algorithms running in expected polynomial time. Random algorithm with expected polynomial run-time, always gives right answer except it can also answer don't know. The definition of class ZPP is almost the same as the definition of P, except that ZPP allows the behavior of the TM to involve randomness, and the expected running time, rather that the worst-case running time is measured.

6 Probabilistic Polynomial time (PP) Probabilistic polynomial algorithms correctly accept input with probability greater than 50% and incorrectly accept input with probability less than 50%. Defintion2.6.3 The class PP (for Probabilistic Polynomial time )consists of all languages L that have a randomizd algorithm A running in worst-case polynomial time such that for any input x in ∑*,

7 Bounded-error Probabilistic Polynomial time (BPP) -Random algorithm that runs in polynomial time and has a bound on the error probability, say 2/3. Defintion2.6.4 The class BPP (for Bounded-error Probabilistic Polynomial time) consists of all languages L that have a randomized algorithm A running in worst- case polynomial time such that for any input x in ∑*,

8 The BPP is also known as the class of problems which can be solved by Monte Carlo algorithms.

9 Relationships to the classes P and NP Let us define the class co-RP to be the set of languages L such that L is in RP; i.e.,co-RP is the complements of the languages in RP. Theorem2.6.1 P is the subset of ZPP. Theorem2.6.2 RP is the subset of NP. -

10 Relationship of different classes NPRPZPPP co-NPco-RP

11 Homework P70 1,2,3