Viewing 0 reply threads
You must be logged in to reply to this topic.
A simple and crude technique 😆 of implementing any kind of new agent in ns2 is using searching for keywords in entire ns2 directory structure.
For example, if you want to implement a protocol similar to AODV, then search for suitable keyword like “aodv” in entire ns2 directory structure 💡 and find the files containing code for “AODV”. After understanding those files, then clone entire file (aodv.cc, aodv.h etc.,) and rename them according to new protocol or add suitable things in some of the files (like commonpacket.h, tracetrace.cc etc)
Once I used the same technique to clone AODV to implement a new improved version of AODV protocol (it almost consumed a week 🙄 to make the new protocol to run correctly.
You must be logged in to reply to this topic.
Discuss Through WhatsApp