[ndnSIM] Accessing a parameter from a Strategy

Md Ashiqur Rahman marahman at email.arizona.edu
Wed Dec 18 20:40:29 PST 2019

Hello all. I have a local variable in my custom strategy which I want to
access at the end of the simulation. I can do similar for a variable in a
custom application in the simulation file with following:

auto consumerApp = DynamicCast<ns3::ndn::ConsumerCbr>(consumerApps.Get(i));
auto avgGoodput += (double)consumerApp->getGoodput();

How can I get a pointer to the custom strategy installed in a node?


Md Ashiqur Rahman
Research Assistant, Network Research Lab
Dept. of Computer Science
The University of Arizona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20191218/9b90b7b0/attachment.html>

More information about the ndnSIM mailing list