sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
Niks's Avatar

Fibonacci search


Question posted by: Niks (Guest) on November 8th, 2005 11:58 AM
Can anybody explain me what is a "Fibonacci search"?
even an URL will do.

Thanks for reading.

5 Answers Posted
Grahamo@nospam.com's Avatar
Grahamo@nospam.com November 8th, 2005 11:58 AM
Guest - n/a Posts
#2: 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's Avatar
Guest - n/a Posts
#3: 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's Avatar
Guest - n/a Posts
#4: 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's Avatar
Guest - n/a Posts
#5: Re: Fibonacci search

Knuth, Volume 3.
I suppose also CLR?

-vijai.

Richard Herring's Avatar
Richard Herring November 8th, 2005 03:35 PM
Guest - n/a Posts
#6: 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
 
Not the answer you were looking for? Post your question . . .
196,795 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,795 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors