Skip to content

odd even sorting algorithm with "open mpi" for parallel systems.

Notifications You must be signed in to change notification settings

nacersalaheddine/odd-even-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odd-even Sorting algorithm

In computing, an odd–even sort or odd–even transposition sort (also known as brick sort, is a relatively simple sorting algorithm, developed originally for use on parallel processors with local interconnections. It is a comparison sort related to bubble sort, with which it shares many characteristics. It functions by comparing all odd/even indexed pairs of adjacent elements in the list and, if a pair is in the wrong order (the first is larger than the second) the elements are switched. The next step repeats this for even/odd indexed pairs (of adjacent elements). Then it alternates between odd/even and even/odd steps until the list is sorted.

Odd_even_sort_animation

algorithm is emplemented in C language and tested in linux system with openMPI library

About

odd even sorting algorithm with "open mpi" for parallel systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published