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

BlockCountBin Storage messed up #785

Closed schrum2 closed 2 years ago

schrum2 commented 2 years ago

If you run MinecraftMAPElitesBlockCountBinLabels you'll quickly see that a bin that is for shapes consisting of exactly 3 blocks contains more blocks than this. Need to figure out why!

schrum2 commented 2 years ago

I think I've solved this.

First there was an issue with shapes not being cleared before being generated.

But the final problem was caused by random tie-breaking in argmax.

Need to test with parallel init before closing

schrum2 commented 2 years ago

It did not work with parallel init. I proceeded to fix this for the block count binning scheme, and everything seemed fine. However, now I'm having errors with the WHD binning scheme. Previously the problem was in how much space was being cleared around shapes, and I think that may still be the issue.

schrum2 commented 2 years ago

Width calculation was wrong, but is fixed now