SlideShare a Scribd company logo
Randomized Algorithms
CS648

Lecture 16
Randomized Incremental Construction
(Backward analysis)
1
PROBLEM 1
FIND-MIN PROBLEM

2
Find-Min algorithm
A
1

2

…

??

3
A
1

2

…

4
5
A
1

2

…

6
Fact: A is permuted randomly uniformly

7
A
1

2

…

8
PROBLEM 2
CLOSEST PAIR OF POINTS

9
Closest Pair of Points

10
11
O(1)
O(1)

O(1)

12
13
14
15
16
17
18
RANDOMIZED INCREMENTAL
CONSTRUCTION

19
Randomized Incremental Construction

20
Randomized Incremental Construction
• Convex Hull of a set of points
• Trapezoidal decomposition of a set of segments.
• Convex polytope of a set of half-planes
• Smallest sphere enclosing a set of points.
• Linear programming in finite dimensions.

21
PROBLEM 3
CONVEX HULL OF POINTS

22
Convex hull of Points

23
Convex hull of Points

24
Randomized algorithm for convex hull

25
A simple exercise from geometry
Exercise: Given a line L and two points p and q, determine whether the
points lie on the same/different sides of L.
L

p

q

q

26
Conflict graph : a powerful data structure
cones

27
Before entering the for loop

28
Before entering the for loop
cones

29
30
31
cones

32
cones

33
cones

34
cones

35
cones

36
cones

37
cones

38
cones

39
cones

40
41
42
43
44
45
Running time of the algorithm

46
47

More Related Content

PDF
[Question Paper] Computer Graphics (Revised Course) [June / 2016]
PDF
[Question Paper] Computer Graphics (Old Course) [June / 2014]
PPTX
Logic diagrams starter teacher version
PDF
A game theoretic approach for runtime capacity allocation in map-reduce (WACC...
PDF
Chapter 2 Graph
 
PPTX
Cochino’s math
PPT
Polygon Fill
PPTX
On the Convex Layers of a Planer Dynamic Set of Points [Short Version]
[Question Paper] Computer Graphics (Revised Course) [June / 2016]
[Question Paper] Computer Graphics (Old Course) [June / 2014]
Logic diagrams starter teacher version
A game theoretic approach for runtime capacity allocation in map-reduce (WACC...
Chapter 2 Graph
 
Cochino’s math
Polygon Fill
On the Convex Layers of a Planer Dynamic Set of Points [Short Version]

What's hot (16)

PPTX
Topological sort
PPTX
Polygons - Computer Graphics - Notes
PPTX
Elliptic Curve Cryptography
PDF
31. solving quadratic cas_touchpad
PDF
Properties of-graphs-2.5
PPTX
On the Convex Layers of a Planer Dynamic Set of Points
PPTX
Signal Flow Graph Introduction
PPTX
Quadratic Transformations Notes
PDF
Polyhedral computations in computational algebraic geometry and optimization
PDF
Sesion de aprendizaje de logaritmos algebra pre u ccesa007
PPTX
Topological Sorting
PDF
Analytic construction of points on modular elliptic curves
PDF
Sequential Probability Ratio Test for Sparse Signals
PPT
Mba admission in india
PDF
Sample3
Topological sort
Polygons - Computer Graphics - Notes
Elliptic Curve Cryptography
31. solving quadratic cas_touchpad
Properties of-graphs-2.5
On the Convex Layers of a Planer Dynamic Set of Points
Signal Flow Graph Introduction
Quadratic Transformations Notes
Polyhedral computations in computational algebraic geometry and optimization
Sesion de aprendizaje de logaritmos algebra pre u ccesa007
Topological Sorting
Analytic construction of points on modular elliptic curves
Sequential Probability Ratio Test for Sparse Signals
Mba admission in india
Sample3
Ad

Viewers also liked (17)

PPTX
Lecture 4-cs648 Randomized Algorithms
PPTX
Lecture 18-cs648
PPTX
Lecture 5-cs648 Randomized Algorithms
PPTX
Lecture 17-cs648
PPTX
Lecture 11-cs648-2013 Randomized Algorithms
PPTX
Lecture 3-cs648 Randomized Algorithms
PDF
Convex Hull in the plane
PPTX
Lecture 14-cs648-2013
PPTX
Plate tectonic
PDF
Convex hulls & Chan's algorithm
PPTX
Convex Hull Algorithms
PPTX
convex hull
PDF
Convex Hull Algorithm Analysis
PPTX
Lecture 10-cs648=2013 Randomized Algorithms
PPTX
Convex Hull - Chan's Algorithm O(n log h) - Presentation by Yitian Huang and ...
PDF
آموزش روش تقسیم و حل در طراحی الگوریتم (مرور – تست کنکور ارشد)
PDF
آموزش طراحی الگوریتم به همراه حل مثال های عملی - بخش پنجم
Lecture 4-cs648 Randomized Algorithms
Lecture 18-cs648
Lecture 5-cs648 Randomized Algorithms
Lecture 17-cs648
Lecture 11-cs648-2013 Randomized Algorithms
Lecture 3-cs648 Randomized Algorithms
Convex Hull in the plane
Lecture 14-cs648-2013
Plate tectonic
Convex hulls & Chan's algorithm
Convex Hull Algorithms
convex hull
Convex Hull Algorithm Analysis
Lecture 10-cs648=2013 Randomized Algorithms
Convex Hull - Chan's Algorithm O(n log h) - Presentation by Yitian Huang and ...
آموزش روش تقسیم و حل در طراحی الگوریتم (مرور – تست کنکور ارشد)
آموزش طراحی الگوریتم به همراه حل مثال های عملی - بخش پنجم
Ad

Similar to Lecture 16 (14)

PPTX
Quadratics
PPT
Higher Maths 2.1.2 - Quadratic Functions
PDF
Numerical Linear Algebra for Data and Link Analysis.
PDF
MinFill_Presentation
PPTX
Dynamic Programming.pptx
PDF
Tutorial of topological_data_analysis_part_1(basic)
PPTX
DEsign and Analysis of ALgorithms slides of lecture 1, 2 and 3
PDF
Unit ii divide and conquer -4
PDF
Algorithms of graph
PPT
Ellipse - Basic Concepts, Forms of the Equation
PPTX
Lecture 9-cs648-2013 Randomized Algorithms
PPSX
Grafica funciones cuadráticas
PPTX
Lecture 9-cs648-2013
PPT
Clipping in Computer Graphics
Quadratics
Higher Maths 2.1.2 - Quadratic Functions
Numerical Linear Algebra for Data and Link Analysis.
MinFill_Presentation
Dynamic Programming.pptx
Tutorial of topological_data_analysis_part_1(basic)
DEsign and Analysis of ALgorithms slides of lecture 1, 2 and 3
Unit ii divide and conquer -4
Algorithms of graph
Ellipse - Basic Concepts, Forms of the Equation
Lecture 9-cs648-2013 Randomized Algorithms
Grafica funciones cuadráticas
Lecture 9-cs648-2013
Clipping in Computer Graphics

More from Anshul Yadav (8)

PPTX
Lecture 19-cs648
PPTX
Lecture 13-cs648
PPTX
Theoretical assign-2-hints
PPTX
Lecture 12-cs648-2013 Randomized Algorithms
PPTX
Lecture 6-cs648 Randomized Algorithms
PPTX
Lecture 2-cs648 Randomized Algorithms
PPTX
Lecture 7-cs648 Randomized Algorithms
PPTX
Lecture 1-cs648
Lecture 19-cs648
Lecture 13-cs648
Theoretical assign-2-hints
Lecture 12-cs648-2013 Randomized Algorithms
Lecture 6-cs648 Randomized Algorithms
Lecture 2-cs648 Randomized Algorithms
Lecture 7-cs648 Randomized Algorithms
Lecture 1-cs648

Recently uploaded (20)

PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
A Presentation on Artificial Intelligence
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Cloud computing and distributed systems.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
A Presentation on Artificial Intelligence
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
NewMind AI Monthly Chronicles - July 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Cloud computing and distributed systems.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Understanding_Digital_Forensics_Presentation.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Big Data Technologies - Introduction.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Mobile App Security Testing_ A Comprehensive Guide.pdf

Lecture 16