User:Bigfatcat

From Robowiki
Revision as of 18:36, 25 April 2011 by Bigfatcat (talk | contribs) (Genetic Programming with Robocode)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Genetic Programming with Robocode

I'm creating a genetic program (GP) to optimise a specified set of Robot functions over a specific number of generations. I've almost completed the GP and I am currently optimising the figures above and others such as mutation and crossover probability.

Number of Generations: 50

Initial Population: 100

Reproduction Rate: 16% per generation

As I type the program has been running for about two hours and is at generation 25.

Population at Generation 25: 3263

The program evaluates via a three rounded 3v3 battle between the current robot being evaluated and two other default 'house' robots. Robots that have not been mutated and have not experienced crossover with its parents are not re-evaluated.

This is taking a lot of time! Compiling the java files and then running the battles hundreds of times by a factor of 50 generations and the size of the population is causing the application to take a long time per generation cycle.

If anybody has any idea how to reduce compile or battle run time I'd really appreciate it.

I'll edit with updates. Cheers!