Emerge-Lab / gpudrive

GPU-acceleration of Nocturne via Madrona
https://arxiv.org/abs/2408.01584
MIT License
232 stars 20 forks source link

Add ID flag to agents #266

Closed aaravpandya closed 1 month ago

aaravpandya commented 1 month ago

This PR adds an Id flag to the agents in self_observation and partner_observation. It will help to identify specific agents.

Padding agents will have ID = -1.

Note: The id will be per world. So agents will have unique ids in their world starting from 0 to n-1 in their world.