schrum2 / MM-NEAT

Modular Multiobjective (Hyper) Neuro-Evolution of Augmenting Topologies + MAP-Elites: Java code for evolving intelligent agents in Ms. Pac-Man, Tetris, and more, as well as code for Procedural Content Generation in Mario, Zelda, Minecraft, and more!
http://people.southwestern.edu/~schrum2/re/mm-neat.php
Other
50 stars 20 forks source link

Parallelize MOME startup #931

Closed schrum2 closed 1 year ago

schrum2 commented 1 year ago

You mentioned that MOME initialization seemed slow. I was surprised, because I know that MAP Elites parallelizes the evaluations at initialization ... but the code that does this was not transferred into MOME.

Search for the "parallelMAPElitesInitialize" parameter in the initialize method of MAPElites and implement a similar approach to the initialization of MOME (don't make a new parameter ... just use parallelMAPElitesInitialize, since MOME is a form of MAP Elites).

schrum2 commented 1 year ago

Actually, the code was there. However, it looks like you weren't using parallelMAPElitesInitialize:true in the test you were using. There may be a lot of batch files lacking this setting