Has anyone successfully integrated a Machine Learning (ML) or Reinforcement Learning (RL) model with an ad hoc routing protocol (e.g., AODV, DSR, or OLSR) for real-time attack detection/prevention in NS-2?
If so, could you please share your implementation approach, source code, or any relevant references?
If not, I would greatly appreciate any guidance on how to implement real-time ML integration with NS-2 (e.g., using sockets, IPC, or other communication mechanisms).