This is an archive of a previous version of Sodarace.

Please visit http://sodarace.net for the latest version.

forum  |  »» sodaplay
 
»» forums  »» artificial intelligence forum

subject: Ameobas created with a genetic algorithm

87 replies on 6 pages. most recent reply: 11-Jun-07 20:14 by Demosthenes2k7

»» back to topic list  

This topic has 87 replies on 6 pages [ « | 1 2 3 4 5 6 | » ]
»» previous topic   »» next topic  


Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 29-Nov-03 21:46   »» 
damn you are persistent. I think your probably near the limit of the fastest model possible of that type. Tho i will try again.

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 29-Nov-03 22:23   »» 
Ok. This one moves in a slightly different way but its a much faster one muscle model.

race: http://sodarace.net/upload/Chirag/oneMuscle.jnlp

Cray_X1

»» models

Re: Ameobas created with a genetic algorithm   posted: 29-Nov-03 23:24   »» 
WOW!

Those models are very fast!
From another thread, you said it took ten minutes to develop that much. Could the post an excecutable so we can devote hours of computing time to finding the fastest amoeba?

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 30-Nov-03 18:16   »» 
yeah im makin a website about the whole thing. lets say. it should be up by... hmmm... wednesday... thats 3 days... most likely.. i'll try my best.. but if not then DEFINETLY by friday

Cray_X1

»» models

Re: Ameobas created with a genetic algorithm   posted: 30-Nov-03 20:33   »» 
So what do you have to do to runthe program?
Could you start it running and leave it going during the night? Are you also making it possible to use it as a generator? And it's programmed in Java, right?

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 30-Nov-03 21:54   »» 
well we'll give you our code so you can see how it works. we made our code as simple as possible. You can use the classes that deal with the xml file VERY easily. you would barely need to know any java to do that, cos we've done all the hard bits. You just need to fill in the bits that are specific to the generator you want. We're gonna write tutorials on everything. And yes you can leave it overnight. That depends on how complex your algorithm ends up though. For specific things like amoebas and one muscles racers an hour is enough, but when it comes to creating ANY type of racer it could take days of cpu time.

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 30-Nov-03 22:03   »» 
to start off you should get used to writing basic programs tho. to do that you need something to write and compile your programs in. compiling is just turning your code into something the computer can understand and execute. try JCreator from http://www.jcreator.com/ . its quick and simple to use.

Go here if you wanna learn how to program in java. Tho it does take time to learn! http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

Cray_X1

»» models

Re: Ameobas created with a genetic algorithm   posted: 30-Nov-03 22:31   »» 
Cool!

I do have a Java tutorial book... (just haven't gotten around to reading it!)

I think what I meant to say was, could you modify the program so we could just use it as a generator?

I can't wait until your site gets up!

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 01-Dec-03 10:44   »» 
In short... yes... you could modify it so all it is a generator... plug in some numbers you think of and it will return an xml model..

however if you wanted the program to find the fastest possible model for a particular generator you'd have to have add some code that plugs in numbers to your generator. This wouldnt simply be some brute force algorithm that goes through every combination of numbers. The number of possibilities would be far too big for you to search this way in a reasonable amount of time. You'd need to add some sort of basic intelligence so that it plugs in numbers in an intelligent way much like when you tweak a model to squeeze in that extra bit of speed.

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 03-Dec-03 21:47   »» 
looks like i'll have to put off putting up the website till friday... sorry!

pdbogen

»» models

Re: Ameobas created with a genetic algorithm   posted: 07-Dec-03 09:08   »» 
Regarding Chiarg's earlier question, I've been working on some primitive genetic modelling (based off what you told us).. I'm not experienced at all in AI / genetic stuff, but I know programming.. So right now it's sort of manual (I instruct it to generate, mutate, or breed, and then pick the fastest or fastest two from the races, rinse, repeat.) All my code is in C and bash scripting (just some support stuff).. BTW, if anyone can tell me a CLI program (Linux, any language) that can run the races (faster?) and produce output telling me the winner, I'd be appreciative.

I've attached my current fastest race of an evolved 8-mass amoeba.. I had one faster (~950f) but I've lost it.

: http://sodarace.net/upload/pdbogen/race.xml

Chirag

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 07-Dec-03 17:44   »» 
There's no program i know of that can run the races faster. Your best bet is to shorten the timeout value, in the race.xml file that u can import and export, and also set the frames drawn to zero. If you're really desperate for more power i created a program that allows race apps running on several machines to connect to one main server thats running the genetic alrgorithm. Its not that difficult to do. All the clients do are just accept models from the server, race them and pass back the result.

kippesoep

»» models

Re: Ameobas created with a genetic algorithm   posted: 09-Dec-03 22:32   »» 
[offtopic]personally, I prefer Eclipse when i program Java[/offtopic]

wwan

»» models
»» homepage

Re: Ameobas created with a genetic algorithm   posted: 10-Dec-03 06:42   »» 
I hope it will (soon) be possible for java programs to run the racer without gui and without generating xmls. Just by creating instances of java models and sending them to the instance if a racer class. These classes already exist in the racer.jar file but they are not documented.

jbrownlee

»» models

Re: Ameobas created with a genetic algorithm   posted: 18-Dec-03 06:32   »» 
Yeah its possible and pretty easy (done it - in process racer at 60ms per race), but do we really want these custom racers out there?



This topic has 87 replies on 6 pages [ « | 1 2 3 4 5 6 | » ]


»» previous topic   »» next topic  

»» back to topic list  »» top of the page  

PLEASE READ THE FORUM GUIDELINES AND ALWAYS PREVIEW TO CHECK MESSAGES BEFORE POSTING...
...Help keep our forums creative and constructive. Thank you.


»» forum home