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

Speed up unit tests #909

Closed JoannaBlatt closed 1 year ago

JoannaBlatt commented 1 year ago

We need to try to speed up unit tests. The first idea is to change the amount of space being initialized first to be a smaller space.

JoannaBlatt commented 1 year ago

I have finished changing the initial clears to something much smaller which has reduced the time.

schrum2 commented 1 year ago

In some cases it might make sense to reduce the evaluation time for a particular test, but the better approach is to make each timed evaluation fitness have a good method for ending early when evaluation is no longer needed. So, I'll close this issue.