hust-diangroup / ns3-ai

Enable the interaction between ns-3 and popular frameworks using Python, which mean you can train and test your AI algorithms in ns-3 without changing any frameworks you are using now!
GNU General Public License v2.0
220 stars 80 forks source link

improvements to debug and deploy ns3-ai #120

Open Kakadus opened 2 months ago

Kakadus commented 2 months ago

the first patch is a small fix to supply flags (in the form of --XXX) to ns3 environments.

the second patch adds a debug option to ns3-ai. Instead of launching the environment directly, sleep infinity is executed instead, allowing users to start the ns3 simulation with a debugger and interactively analyze the simulator.

lastly, I implemented the feature to specify the path of a compiled simulation program. ns3-ai then does not use the ns3 wrapper but starts the simulation binary directly