Connecting Tech Pros Worldwide Forums | Help | Site Map

Fibonacci search

Niks
Guest
 
Posts: n/a
#1: Nov 8 '05
Can anybody explain me what is a "Fibonacci search"?
even an URL will do.

Thanks for reading.


Grahamo@nospam.com
Guest
 
Posts: n/a
#2: Nov 8 '05

re: Fibonacci search


Hey,

The Fibonacci Sequence is defined such that the first two numbers of
the sequence are 0 and 1. subesequent numbers are the sum of the
previous two. e.g.

0, 1, 1, 2, 3, 5, 8, 13 ......

try this for code (googled it)

http://cubbi.org/serious/fibonacci/c++.html

A search returns the N'th fibonacci number (the URL codes it up for
you).


good luck.

G

Risto Lankinen
Guest
 
Posts: n/a
#3: Nov 8 '05

re: Fibonacci search



"Niks" <nbokare@gmail.com> wrote in message
news:1131447873.985860.129610@o13g2000cwo.googlegr oups.com...[color=blue]
> Can anybody explain me what is a "Fibonacci search"?
> even an URL will do.[/color]

http://www.google.com



osmium
Guest
 
Posts: n/a
#4: Nov 8 '05

re: Fibonacci search


"Niks" writes:
[color=blue]
> Can anybody explain me what is a "Fibonacci search"?
> even an URL will do.[/color]

Perhaps this will help.

http://en.wikipedia.org/wiki/Fibanocci_Heap


Vijai Kalyan
Guest
 
Posts: n/a
#5: Nov 8 '05

re: Fibonacci search


Knuth, Volume 3.
I suppose also CLR?

-vijai.

Richard Herring
Guest
 
Posts: n/a
#6: Nov 8 '05

re: Fibonacci search


In message <1131448392.654921.182010@f14g2000cwb.googlegroups .com>,
"Grahamo@nospam.com" <GrahamJWalsh@gmail.com> writes[color=blue]
>Hey,
>
>The Fibonacci Sequence is defined such that the first two numbers of
>the sequence are 0 and 1. subesequent numbers are the sum of the
>previous two. e.g.
>
>0, 1, 1, 2, 3, 5, 8, 13 ......
>
>try this for code (googled it)
>
>http://cubbi.org/serious/fibonacci/c++.html
>
>A search returns the N'th fibonacci number (the URL codes it up for
>you).
>[/color]
That's a Fibonacci sequence. A Fibonacci _search_ is an extension of
the idea of a binary search to the case where you want to find an
extremum rather than a particular value.

--
Richard Herring
Closed Thread


Similar C / C++ bytes