"Peter Popov" wrote:
> Binary search is fast, but golden ratio searching is faster
> because it evaluates three intervals at once and discards
> two of them.
I've read your explanation but I'm afraid I don't get how it works.
It evaluates 3 intervals at once but that also take at least 3 times as many
calculations I would think?
And how does the fact that the sizes of the intervals are controlled by the
golden ratio make it any more effecient?
> If F(A) > F(B) > F(C) then the minimum can not be in the
> interval [A; C].
How can I be sure the minimum isn't in between two of the samples?
As you can see from my questions I haven't got a clue...
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|