The algorithm:
Find x such that f(x) == 10
set x to 0
While f(x) is approximately 10
try x a bit higher
try x bit lower
which ever is closer use
the concept of a bit higher and lower is by default
trying to jump into the middle of domain, but you
can also provide function that uses
Gidon writes:
> or rather from a programmer's perspective it tries to find a set of
> parameters for a function such that that function equals a particular
> value.
Sounds like a minimization algorithm.
> I hope to add this to CPAN if you guys think it's worthwhile.
I looked through the code
or rather from a programmer's perspective it tries to find a set of
parameters for a function such that that function equals a particular
value.
I hope to add this to CPAN if you guys think it's worthwhile.
What I need to figure out is what to call it and where to put it.
I think it is AI