<div dir="ltr"><div class="gmail_default" style="font-size:small">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:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div style="color:rgb(248,248,242);background-color:rgb(39,40,34);font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:12px;line-height:16px;white-space:pre"><div style="line-height:16px"><div><span style="color:rgb(102,217,239);font-style:italic">auto</span> consumerApp <span style="color:rgb(249,38,114)">=</span> <span style="color:rgb(166,226,46)">DynamicCast</span><<span style="color:rgb(166,226,46);text-decoration-line:underline">ns3</span>::<span style="color:rgb(166,226,46);text-decoration-line:underline">ndn</span>::<span style="color:rgb(166,226,46);text-decoration-line:underline">ConsumerCbr</span>>(consumerApps.<span style="color:rgb(166,226,46)">Get</span>(i));</div><div><span style="color:rgb(102,217,239);font-style:italic">auto</span> avgGoodput <span style="color:rgb(249,38,114)">+=</span> (<span style="color:rgb(102,217,239);font-style:italic">double</span>)consumerApp-><span style="color:rgb(166,226,46)">getGoodput</span>();</div></div></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">How can I get a pointer to the custom strategy installed in a node?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Best-</div><div class="gmail_default" style="font-size:small">Ashiq</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr">Md Ashiqur Rahman<div>Research Assistant, Network Research Lab<br><div>Dept. of Computer Science</div><div>The University of Arizona</div></div></div></div></div></div></div></div>