I have all sorts of code for robotics and artificial intelligence
here:
http://code.google.com/p/lemontree/downloads/listIn particular I recommend Self Similar (Continuous Gray Code)
optimization, The OCT based neural nets and Bloom Filters.
Have fun and be good,
Sean O'Connor