ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS

Slides:



Advertisements
Similar presentations
Randomized Algorithms Introduction Rom Aschner & Michal Shemesh.
Advertisements

2 4 Theorem:Proof: What shall we do for an undirected graph?
Max Cut Problem Daniel Natapov.
CSCI 3160 Design and Analysis of Algorithms Tutorial 4
Time Analysis Since the time it takes to execute an algorithm usually depends on the size of the input, we express the algorithm's time complexity as a.
“Devo verificare un’equivalenza polinomiale…Che fò? Fò dù conti” (Prof. G. Di Battista)
WS Algorithmentheorie 03 – Randomized Algorithms (Primality Testing) Prof. Dr. Th. Ottmann.
Computability and Complexity
1 The Monte Carlo method. 2 (0,0) (1,1) (-1,-1) (-1,1) (1,-1) 1 Z= 1 If  X 2 +Y 2  1 0 o/w (X,Y) is a point chosen uniformly at random in a 2  2 square.
Randomized Algorithms Kyomin Jung KAIST Applied Algorithm Lab Jan 12, WSAC
2 4 Theorem:Proof: What shall we do for an undirected graph?
Complexity 26-1 Complexity Andrei Bulatov Interactive Proofs.
Complexity 18-1 Complexity Andrei Bulatov Probabilistic Algorithms.
P ROBABILISTIC T URING M ACHINES Stephany Coffman-Wolph Wednesday, March 28, 2007.
CS151 Complexity Theory Lecture 7 April 20, 2004.
Randomized Computation Roni Parshani Orly Margalit Eran Mantzur Avi Mintz
Probabilistic Complexity. Probabilistic Algorithms Def: A probabilistic Turing Machine M is a type of non- deterministic TM, where each non-deterministic.
Complexity 19-1 Complexity Andrei Bulatov More Probabilistic Algorithms.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
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.
1 Assessment of Imprecise Reliability Using Efficient Probabilistic Reanalysis Farizal Efstratios Nikolaidis SAE 2007 World Congress.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Section 11.4 Language Classes Based On Randomization
Chapter 14 Randomized algorithms Introduction Las Vegas and Monte Carlo algorithms Randomized Quicksort Randomized selection Testing String Equality Pattern.
Approximation Algorithms Pages ADVANCED TOPICS IN COMPLEXITY THEORY.
Order Statistics The ith order statistic in a set of n elements is the ith smallest element The minimum is thus the 1st order statistic The maximum is.
Introduction to Algorithms Jiafen Liu Sept
1 2 Probabilistic Computations  Extend the notion of “efficient computation” beyond polynomial-time- Turing machines.  We will still consider only.
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.
. 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.
Linear Equations in Two Variables A Linear Equation in Two Variables is any equation that can be written in the form where A and B are not both zero.
Fall 2013 CMU CS Computational Complexity Lectures 8-9 Randomness, communication, complexity of unique solutions These slides are mostly a resequencing.
Randomization Carmella Kroitoru Seminar on Communication Complexity.
Instructor Neelima Gupta Expected Running Times and Randomized Algorithms Instructor Neelima Gupta
Find the Kth largest number Special topics in Advanced Algorithms -Slides prepared by Raghu Srinivasan.
Communication Complexity Guy Feigenblat Based on lecture by Dr. Ely Porat Some slides where adapted from various sources Complexity course Computer science.
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Algorithmics - Lecture 41 LECTURE 4: Analysis of Algorithms Efficiency (I)
Complexity 24-1 Complexity Andrei Bulatov Interactive Proofs.
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 Yuji Ishikawa Avis lab. M1.
Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar Dr Nazir A. Zafar Advanced Algorithms Analysis and Design.
Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar Dr Nazir A. Zafar Advanced Algorithms Analysis and Design.
Complexity 27-1 Complexity Andrei Bulatov Interactive Proofs (continued)
Complexity Theory in Practice
Probabilistic Algorithms
Order Statistics Comp 122, Spring 2004.
Umans Complexity Theory Lectures
Randomized Algorithm (Lecture 2: Randomized Min_Cut)
Randomized Algorithms
Lecture 8 Randomized Algorithms
Exact Algorithms via Monotone Local Search
Finding Large Set Covers Faster via the Representation Method
Statistics Review ChE 477 Winter 2018 Dr. Harding.
Bin Fu Department of Computer Science
Order Statistics Comp 550, Spring 2015.
6.5 Taylor Series Linearization
Topic 3: Prob. Analysis Randomized Alg.
Time Complexity Lecture 14 Sec 10.4 Thu, Feb 22, 2007.
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979.
Complexity Theory in Practice
CS21 Decidability and Tractability
Order Statistics Comp 122, Spring 2004.
At the end of this session, learner will be able to:
CS151 Complexity Theory Lecture 7 April 23, 2019.
15th Scandinavian Workshop on Algorithm Theory
The Selection Problem.
Instructor: Aaron Roth
Presentation transcript:

ADVANCED COMPUTATIONAL MODELS AND ALGORITHMS Instructor: Dr. Gautam Das April 16, 2009 Notes - Mahadevkirthi M

Topics Probabilistic Recurrence: - Linear Algorithm for Kth Largest Selection Problem. Probabilistic Complexity Classes: - Random Polynomial Class (RP) Ex: Monte Carlo, Min - Cut, What about Max – SAT? - Zero Error Probabilistic Polynomial Class (ZPP) Ex: Kth Largest Element Selection.

Linear Algorithm for Kth Largest Selection We can write the algorithm in probabilistic recurrence terms as: E[Tn] = 1+1/n-1[E[Tn-1]+E[Tn-2]+ ………. ] = 1+E[Tn/2] Let x be the random variable uniformly selected from [1,n-1]. So E[Tn] can now be written as E[Tn] = 1+E[E[Tx]] ………………….. eq1

Linear Algorithm for Kth Largest Selection We’ll guess the result and try if we can fit in it. Guess E[Tn] <= = O(log n) ………eq2 Assume that eq2 is the right upper bound for all m<n then we shall show it is also true for n. E[Tn] = 1+ E[E[Tx]] E[Tn] <= f(n). Expected running time is Linear. Hence it is very fast for a Las Vegas algorithm to calculate the Kth Largest element.

Random Polynomial Class(RP) The problem belongs to RP if all these conditions are met: - For an input instance, if a solution exists then MonteCarlo algorithm can accept it with probability 0<‘a’<1. - However if the instance does not have a solution, then the probability of the algorithm rejecting it is 1. - The algorithm runs in polynomial time. - RP is actually Monte Carlo algorithm with one sided errors. - Monte Carlo and Min- Cut problem belongs to RP class.

Does Max – SAT belong to RP Does Max – SAT belong to RP? Max – SAT problem does not belong to RP class since it is still exponential in ‘n’ variables or ‘m’ clauses even for repeated execution.

Zero Error Probabilistic Polynomial Class(ZPP) The problem belongs to ZPP if all these conditions are met: - If it always accepts with probability = 1. - If it always rejects with probability = 1. - Running time is polynomial in an expected sense. - Kth Largest Selection Problem belongs to ZPP class.