[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming

The whole is greater than the sum of its parts

Ramine

2/3/2015 3:03:00 AM

Hello,


When you hear something like this:

"the whole is greater than the sum of its parts."


That's a smart thing to do and to follow...


I will give you an example , please look at my Parallel Sort library
project here:

https://sites.google.com/site/aminer68/parallel-so...


You will notice that i have invented a parallel algorithm that
follows the spirit of: "the whole is greater than the sum of its
parts.", to attain this efficiency you have to interconnect the parts
and/or manage the parts to attain this better efficiency... this is what
is doing my parallel algorithm , the threads are not working each one
alone to sort the array, this is an innefficient way of doing, so i have
divided the array into multiple parts and giving each part to a thread
and also i am synchronizing, so my parallel algorithm is giving
a better performance than when each thread is working alone,
and we say that my parallel algorithm is attaining a better efficiency
and speed that gives: "the whole is greater than the sum of its
parts.".. and this is also what is doing Google when you give it
something to search on internet, it is parallelizing the searches , so
by doing so Google attains also a better efficiency and speed of: "the
whole is greater than the sum of its parts.", Divide and conquer
algorithm such us MergeSort or AVL trees give also a log(n) time
complexity , so Divide and conquer algorithms are also good way to
attain a better efficiency and speed.



Thank you for your time.


Amine Moulay Ramdane.