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
233 stars 83 forks source link

problems with exampes "a_plus_b" #92

Open yhes3103 opened 1 year ago

yhes3103 commented 1 year ago

There's a problem , it seems like i can't find this header file in sim.cc

home/ipclab/ns-3-dev-git/scratch/a_plus_b/sim.cc:23:10: fatal error: ns3/ns3-ai-module.h: No such file or directory 23 | #include "ns3/ns3-ai-module.h" | ^~~~~ how can I solve this problm?

Besides . in run.py

Traceback (most recent call last): File "run.py", line 59, in exp = Experiments(mempool_key, mem_size, 'a_plus_b', '/home/ipclab/ns3-dev-git/scratch/a_plus_b/sim.cc') # Set up the ns-3 environment NameError: name 'Experiments' is not defined

are there any problems? thank you very much!

miguelpgz commented 1 year ago

I have the same problem as you. If you have solved it, please tell me.