Reputation: 11
I m doing in my project in scheduling algorithms in NS2. To implement scheduling algorithm, whether i have to write code in TCL or C++?
Upvotes: 1
Views: 927
Reputation: 35
In NS2; we can write algorithms in both tcl script and C++. TCL scripting is simple and easy while we work with an existing protocol. While coding in C++ you have to create a new protocol and it is little bit tough. Overall, For better result, you must have to code in C++
Upvotes: 0
Reputation: 15414
It depends upon the type of scheduling that you are doing. For example if you are writing queue scheduling algorithm then you should write a C++ code.
Upvotes: 2