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

Missile target fitness #932

Closed schrum2 closed 1 year ago

schrum2 commented 1 year ago

So, we had tried to avoid the overhead of additional clearing commands, but I think we have to clear the space around the slime block targets before re-instantiating them. We have an example now of a flying machine flying into a target and just getting stuck there. The target is far outside of the evaluation area for the flying machine, which is why it is not being cleared.

So, for each target, clear a sufficient area around it before creating it. In particular, an area where a left over flying machine could be has to be cleared.

schrum2 commented 1 year ago

Rather than add an extra cost overhead from clearing more distinct areas, we're going to try simply adjusting the settings so that the main clear of area around the shape is sufficient to clear the space leading up to the targets. Need to test this a bit before closing the issue though.

schrum2 commented 1 year ago

This seems to work fine without extra clearing