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

Don't allow multiple fitness functions with plain MAP Elites #930

Closed schrum2 closed 1 year ago

schrum2 commented 1 year ago

I've about to commit some code that throws an exception from MAP Elites when you try to run it with multiple fitness functions. Test this out to make sure the exception is thrown, and then to make sure that it is not thrown when just one objective is used. Also look for an exception when there are 0 objectives.

TjRaffert commented 1 year ago

Assertion errors were thrown when I had 0 or 2 fitness functions activated with MAPE elites. It also didn't throw any errors when just one was activated one.