Presentation: Bitonic Sort: Presented By: Eng Zahir Ullah
Presentation: Bitonic Sort: Presented By: Eng Zahir Ullah
Bitonic Sort
Bitonic Sequences
What is a Bitonic sequence
How do we create a Bitonic sequence?
Bitonic Sort – Bitonic Sequences Sort -
Introduction
1 2 3 3 2 1
Increasing Decreasing
A data set is Bitonic if there exists an index I for which all
elements less than or equal to I are in increasing order and
all element greater than or equal to I are in decreasing order
Bitonic Sort – Bitonic Sequences Sort - Introduction
Pick 2 Elements
Bitonic Sequence
5 2 3 10
30 40 70 80 60 50 20 10
30 40 20 10 60 50 70 80
20 10 30 40 60 50 70 80
10 20 30 40 50 60 70 80
Bitonic Sort – Bitonic sort Basics - Introduction
Bitonic Sort
Bitonic Sort
Bitonic Sort
A comparison based sorting algorithm witch
sort a data set by converting the list of numbers into
a bitonic sequence
A series of number which monotonically increase
then decreases
The list is then sorted using a merge function
Bitonic Sort – Time Complexity Introduction
The time complexity of bitonic sort is O (log2 n) in all three cases.