Re: Binqry Tree sort
- From: nejla.ghaboosi@xxxxxxxxx
- Date: 15 Jan 2006 09:59:48 -0800
Thanks chuck for your advices. I'll obey from those rules.
and second about the algorithm which I asked.
Actually I'm looking for a parallel proessing, not a sequential
proessing with just one processor. Assume each node of a tree as a
processor. The connection between processors are like the binary tree.
In other words I want to use the binary tree as my parallel
architecture.
For example if you want to find the minimum value of a set you should
simply put the values on the leaves. Then each processor sends its
values to the parent processor. The parent processor compares the
values received from its children. And stores the minimum one and sents
it to the top (again to its parent). This manner contues. then after
t(n) = O(logn) you will have the min value at the root processor.
Now I'm looking for a parallel algorithm wich uses parallel binary tree
architecture for sorting the elements on a set on the leaves.
Actually I want to do this to find the Kth min element on the set. I
can do it by using the above algorithm which I expained in t(n) = O( k
+ logn ).
Now I want to do it by sort for evaluating their differences in t(n).
Is it clear now?
Thanks
Nejla
.
- Follow-Ups:
- Re: Binqry Tree sort
- From: Chuck F.
- Re: Binqry Tree sort
- From: Willem
- Re: Binqry Tree sort
- References:
- Binqry Tree sort
- From: nejla . ghaboosi
- Re: Binqry Tree sort
- From: Chuck F.
- Binqry Tree sort
- Prev by Date: Antique Turbo Pascal / Turbo Vision question :-)
- Next by Date: Re: Prefix Sum on Perfect Shuffle
- Previous by thread: Re: Binqry Tree sort
- Next by thread: Re: Binqry Tree sort
- Index(es):
Relevant Pages
|