schrum2 / MM-NEATv2

MM-NEAT version 2.0 is no longer supported. Please get MM-NEAT 3+ from https://github.com/schrum2/MM-NEAT
Other
11 stars 5 forks source link

"Time Base was Alive" objective #417

Closed schrum2 closed 7 years ago

schrum2 commented 7 years ago

I wonder if this is being calculated correctly.

I evolved overnight against the IDRTMinimax agent (which seems pretty good actually ... we might consider evolving as this agent instead of the MCTS agents), and in every single generation the score of all agents for "Time Base was Alive" was -1. When I moved on to the "win?" other score, it revealed that scores ranged from 0 to 0.35 (mostly flat at 0).

Correct me if I'm wrong, but a win score of 0 means there was a tie. This is corroborated by the "time game lasted" score, which indicates that the duration is mostly 4000 ... the maximum. I also did a post watch indicating that the evolved agent kills all enemy agents, but is unable to destroy the base (I'll open up another issue on this soon). Regardless, it looks like the evolved player's base was alive the whole time even though the end result was a tie .... shouldn't this result in a score of 0?

If I am simply misunderstanding this fitness function, then please explain it in this GitHub issue and then close it. Otherwise, figure out what is wrong.