I saw a post the other morning on the Genetic Argonaut blog entitled "Running Genetic Algorithms On A Cellphone". The post described the work by Christian Perone running a genetic algorithm in python on a mobile phone, specifically a Nokia N73 with Symbian and PyS60.
"Cool" I thought. "I can do something like that!"
I uploaded an old genetic algorithm script I wrote in Ruby for my Intelligent Algorithms project and it ran first time under iPhone Ruby (installed by Cydia), no problems at all. The above image is a screen shot I took in my jailbroken iPhone console running my GA script on a simple two-dimensional ("sphere") function optimization problem.
Not a big deal really. Wait until you can play with evolved 3D creatures on the iPhone, that will turn some heads!
If anyone wants the ruby script, shoot me an email.
Monday, March 23, 2009
Running a Genetic Algorithm on the iPhone
Subscribe to:
Post Comments (Atom)


3 comments:
Hi, Jason!
Congratulations for you iPhone genetic algorithm! :)
If possible, a video of it running on your cellphone would be interesting to see.
Thank you very much for the pointer! :)
Cheers!
Marcelo
Thanks Marcelo.
I don't think the iphone can do a screen capture as video (haven't seen it).
I don't have a dv camera. I believe I'll have to use a series of mirrors and the built in iphone camera - might be a bit of a pain.
Hi, Jason!
Oh, mate, don't worry about it. I think you may have a lot of work to do and I do not intend to delay you in any way.
Yeah, Apple devices have that limiting factor: It isn't always you may do with your device what you would like to, but what Apple allows you to do. :)
By the way, thank you very much for your feedback. :)
Até Mais!
Marcelo
Post a Comment