<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I think you forgot to configure FIBs, e.g., using GlobalRoutingHelper.<div class=""><br class=""></div><div class="">---</div><div class="">Alex<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 4, 2017, at 11:42 PM, John Baugh <<a href="mailto:jpbaugh@umich.edu" class="">jpbaugh@umich.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">ndnSIM friends,<div class=""><br class=""></div><div class="">I am continuing a previous attempt at creating a Custom Strategy, for the primary purpose of recording information on Interests as they arrive at a router.</div><div class=""><br class=""></div><div class="">The three involved files, linked in my Google Drive are:</div><div class=""><br class=""></div><div class="">1. <b class="">The scenario file:</b>   (jpb-strategy1-test.cpp)</div><div class="">     <a href="https://drive.google.com/open?id=0By9ufeKqmJYYWXNpbEFYSEI2VWc" class="">https://drive.google.com/open?id=0By9ufeKqmJYYWXNpbEFYSEI2VWc</a></div><div class=""><br class=""></div><div class="">2. <b class="">The PopularityStrategy.hpp file</b> with my custom strategy specification</div><div class="">     <a href="https://drive.google.com/open?id=0By9ufeKqmJYYQm5BQVRSQzNjSnc" class="">https://drive.google.com/open?id=0By9ufeKqmJYYQm5BQVRSQzNjSnc</a></div><div class=""><br class=""></div><div class="">3.  <b class="">The PopularityStrategy.cpp file</b> with the implementation of the custom strategy class</div><div class="">      <a href="https://drive.google.com/open?id=0By9ufeKqmJYYcTFXc1ZUcnpfQTA" class="">https://drive.google.com/open?id=0By9ufeKqmJYYcTFXc1ZUcnpfQTA</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Notes:</div><div class="">- I have the scenario file in the <b class="">scenarios</b> directory (I'm using the template from GitHub)</div><div class="">- I have the PopularityStrategy.[hpp,cpp] files in the <b class="">extensions </b>directory</div><div class="">- I subclassed MulticastStrategy to create the PopularityStrategy</div><div class="">- I did call NFD_REGISTER_STRATEGY at the top of the PopularityStrategy.cpp file</div><div class=""><br class=""></div><div class="">Everything compiles just fine, but I get <b class="">no printout from the PopularityStrategy </b>class.  I have cout<< inside both the constructor and the afterReceiveInterest function.</div><div class=""><br class=""></div><div class="">It's as if it's not being used at all.  </div><div class=""><br class=""></div><div class="">I am very much at a loss, and would greatly appreciate assistance on this.  It's close.  I can feel it.  :)</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">John</div><div class=""><br class=""></div><div class=""><br class=""></div></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></div></div></body></html>