[ndnSIM] Making a Customized Node
shijunxiao at email.arizona.edu
Sat Oct 12 05:35:50 PDT 2019
You don’t need to modify Node class. Instead, aggregate the table onto the
node. Read ns-3 Manual - Object Model section to understand what
The table itself is std::vector<std::array<int, 5>> (assuming it’s a table
of integers). You’ll need to wrap it into a subclass of ns3::Object.
On Sat, Oct 12, 2019 at 05:41 f179007 Ammarah Khalid <f179007 at nu.edu.pk>
> Hi Everyone!
> I'm trying to make a customized node at which I need a table of 5 columns
> and n rows (n=1,2,3,...).
> Should I make it by extending Node.h file because this node will be
> different from other node in the network? What are the changes I have to do
> in Node.cpp file because I want previous all functions of standard node in
> the customized node also. Moreover, please suggest which data structure
> should I use at the customized node to store a table in which each row must
> have 5 columns in the table?
> Thanks and Regards.
> Ammarah Khalid
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM