Re: Search Algorithm

2004-11-16 Thread Paul Tsai
Sergio Basurto Juarez wrote: --- Eric Gaumer <[EMAIL PROTECTED]> wrote: On Mon, 2004-11-15 at 12:09 -0800, Sergio Basurto Juarez wrote: First of all thanks for the note, I think I will use a Hashing Table as some one suggest here, becuase in this case seems to be more suitable f

Re: Search Algorithm

2004-11-15 Thread Sergio Basurto Juarez
--- Eric Gaumer <[EMAIL PROTECTED]> wrote: > On Mon, 2004-11-15 at 12:09 -0800, Sergio Basurto > Juarez wrote: > > First of all thanks for the note, I think I will > use a > > Hashing Table as some one suggest here, becuase in > > this case seems to be more suitable for the > problem, > > why am

Re: Search Algorithm

2004-11-15 Thread Eric Gaumer
On Mon, 2004-11-15 at 12:09 -0800, Sergio Basurto Juarez wrote: > First of all thanks for the note, I think I will use a > Hashing Table as some one suggest here, becuase in > this case seems to be more suitable for the problem, > why am so worry about speed, is becuase is a web > application in ph

Re: Search Algorithm

2004-11-15 Thread Niels L Ellegaard
On Mon, 15 Nov 2004 10:52:22 -0800 (PST) Sergio Basurto Juarez <[EMAIL PROTECTED]> wrote: > To find a key k in an array v with indexes from 0 to > n-1, begin with x0 = 0, x1 = n-1, and i = 1. Compute > the next position with > xi+1 = xi - (v[xi]-k) * (xi - xi-1)/(v[xi] - v[xi-1]). > If this lies o

Re: Search Algorithm

2004-11-15 Thread Sergio Basurto Juarez
--- Ron Johnson <[EMAIL PROTECTED]> wrote: > On Mon, 2004-11-15 at 10:25 -0800, Sergio Basurto > Juarez wrote: > > First of all, I want to leave clear that I know > that > > the question that I am asking for, does not have > to do > > with this list, but I dare to ask this question > here > > bec

Re: Search Algorithm

2004-11-15 Thread Ron Johnson
On Mon, 2004-11-15 at 10:25 -0800, Sergio Basurto Juarez wrote: > First of all, I want to leave clear that I know that > the question that I am asking for, does not have to do > with this list, but I dare to ask this question here > because I am sure that here are a lot of good > programming and sc

Re: Search Algorithm

2004-11-15 Thread Sergio Basurto Juarez
--- Bojan Baros <[EMAIL PROTECTED]> wrote: > Sergio Basurto Juarez said: > > First of all, I want to leave clear that I know > that > > the question that I am asking for, does not have > to do > > with this list, but I dare to ask this question > here > > because I am sure that here are a lot of

Re: Search Algorithm

2004-11-15 Thread Bojan Baros
Sergio Basurto Juarez said: > First of all, I want to leave clear that I know that > the question that I am asking for, does not have to do > with this list, but I dare to ask this question here > because I am sure that here are a lot of good > programming and scientisitics guys and may be one of >