[ndnSIM] question about ndnSIM source code

Alex Afanasyev aa at CS.UCLA.EDU
Sun Dec 18 14:14:37 PST 2016

> On Nov 20, 2016, at 6:12 PM, 任沛 <renpei.bupt at qq.com> wrote:
> hello all:
>     There are some question about ndnSIM source code recently i met, thank you very much if you have the answer of my confusedness!
> on the site "http://ndnsim.net/1.0/fw.html", i can see many fw strategy here, while on my own source code folder, i even can not find "ndnSIM/model/fw/flooding.h <http://ndnsim.net/1.0/doxygen/flooding_8h_source.html>" as show in site, there is only a folder named "cs" and other ".cpp" files. Even in /NFD/fw, i also can not file names "flooding.h", than i use "ctrl+f", i got nothing, system told me there is no file names "flooding.h",what should i do? how can i get access of these forwarding strategy?
If you're using ndnSIM version 2, you need to look at the corresponding documentation.  As the quoted URL suggests, it is about ndnSIM 1.0.

Depending on which exactly version you're using, the documentation is either http://ndnsim.net/2.3/ <http://ndnsim.net/2.3/>, http://ndnsim.net/2.2/ <http://ndnsim.net/2.2/>, http://ndnsim.net/2.1/ <http://ndnsim.net/2.1/>, or http://ndnsim.net/2.0/ <http://ndnsim.net/2.0/>   

> when i try to modify source code of fw, what .cpp or .h files do i need to modify? any one who can tell me which related files i have to modify if i try to modify on of fw.
If you're working with ndnSIM 2+, then the starting point would be to read the relevant sections NFD Developer's Guide.  After that, the examples include several custom strategies, where you can get an idea what to do.
> on the web site, i got that there is three color which is green & red & yellow, to indicate the status of the face, and these faces which carry the color status will be rank, where can i get the file?
This is the strategy existed in ndnSIM 1.0 and doesn't exist in 2+.  Though, it should be straightforward to (re-)implement it.


> if any one can help me, thank you very much!
> best wishes.
> ren pei

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161218/9cad0798/attachment.html>

More information about the ndnSIM mailing list