cvigoe / DRL4MAAS

Code for paper "Multi-Agent Active Search: a Reinforcement Learning Approach", submitted to ICRA 2022.
MIT License
12 stars 0 forks source link

Is it a redundant for loop? #3

Open chengyh23 opened 2 years ago

chengyh23 commented 2 years ago

https://github.com/cvigoe/DRL4MAAS/blob/95539197c9b82a34f9128fd265749d0f8f76157f/gym_activesearchrlpoisson/gym_activesearchrlpoisson/envs/activesearchrlpoissonmlemap_env.py#L448

The only usage of the local variable insert is outside this for loop. Why are the program lines inside the for loop executed repeatedly?