Gidon wrote at Tue, 04 Jun 2002 23:47:06 +0200: > ... > A short description of what you're planning to contribute: > > 1) ** this is the one that I'm going to upload now** I have a module called > AI::state_space_search > I haven't finished thinking about the name. > It might also be called AI::Search::state_space > http://www.gidon.com/scratch/state_space_search.pm.txt > > ** these I plan on uploading I hope **
I've already looked to it. First of all, there's a name convention, that Module-Names starts (without special reasons) with capital letters. Second, your module doesn't seem to be really artificial intelligent. You try to calculate the inverse f^(-1)(y) for a given subroutine f(x). It could be in AI if you would calculate with fuzzy methods, estimate the value like human do or so. So it should be better under Math:: or Algorithm:: namespace. (E.g. Math/Algoritm::InverseFunction::BinarySearch). InverseFunction - that is it what your module try to do (if I right understood). BinarySearch is perhaps the best description like your algorithm works. (In fact in the most cases (non-stetic && non-monotonic function) your algorithm doesn't seem to work) Of course, it could be wrong of me ;-) Greetings, Janek