DaRL-LibSignal / LibSignal

107 stars 21 forks source link

Questions about code design for Single-Agent and Multi-Agent #7

Open MagnatePtLee opened 1 year ago

MagnatePtLee commented 1 year ago

For multi-agent systems that share information among agents, there is confusion regarding the handling of sub-agents, num_agent, and generators in the code. In the 4x4 road network, on the one hand, the sub-agents of Colight are 16 (the number of intersections) and num_agent is 1. However, in Colight, isn't each intersection independently controlled by an agent? It appears that the entire road network is controlled by one agent, with each intersection having its own generator and decision model. On the other hand, is Presslight a Multi-Agent approach? Its sub-agents are 1 and num_agent is 16. Each intersection has its own agent and decision model. This confusion is significant, especially if one intends to extend other Multi-Agent models that share information among agents.

BackMountainDevil commented 7 months ago

In the paper, they said shared parameters is important. so it is individual agent, isn't is?