oxwhirl / smac

SMAC: The StarCraft Multi-Agent Challenge
MIT License
1.04k stars 227 forks source link

Expose number of dead allied and enemy units in step information #56

Closed douglasrizzo closed 3 years ago

douglasrizzo commented 3 years ago

This can be a useful performance measure for algorithms, so I devised a way to expose these values in the info dictionary that is returned by the step() method.

GoingMyWay commented 3 years ago

This can be a useful performance measure for algorithms, so I devised a way to expose these values in the info dictionary that is returned by the step() method.

Great, thanks for contributing this feature, normally I use test_battle_won_mean for performance metric, now, I can also use test_dead_enemies_mean and test_dead_allies_mean.