<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
</head>
<body>
<div dir="ltr">
<div dir="ltr" data-ogsc="" style="">
<div></div>
<div>
<div>I have not used self learning in ndnsim. I think you need to do change the producer such that it announces the prefix under which it is producing data. You need  to add the Prefix Announcement tag in the Data packet. Without that FIB won’t be populated.</div>
<div class="ms-outlook-ios-signature" id="ms-outlook-mobile-signature">Get <a href="https://aka.ms/o0ukef" data-ogsc="" style="">
Outlook for iOS</a></div>
</div>
<!--{"start":[1,1,1,0],"end":[1,1,1,0]}--></div>
<!--{"start":[0,1,1,1,0],"end":[0,1,1,1,0]}--></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> ndnSIM <ndnsim-bounces@lists.cs.ucla.edu> on behalf of Andrew S via ndnSIM <ndnsim@lists.cs.ucla.edu><br>
<b>Sent:</b> Tuesday, September 1, 2020 11:21:53 PM<br>
<b>To:</b> ndnsim@lists.cs.ucla.edu <ndnsim@lists.cs.ucla.edu><br>
<b>Subject:</b> Re: [ndnSIM] Self-learning strategy not working properly</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>After all my attempts it still fails like shown before.</div>
<div>The main problem is that it cannot correctly send data back - in most cases data is sent back only when it hits cache (and for a single hop, as things repeat on the next one).<br>
</div>
<div><br>
</div>
<div>If anyone had any experience with Self-Learning strategy, please, let me know.<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">ñð, 26 àâã. 2020 ã. â 20:00, Andrew S <<a href="mailto:forelf1@gmail.com">forelf1@gmail.com</a>>:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div>Hello,</div>
<div>I'm currently working on implementing custom forwarding strategy and would like to compare it to the existing ones.</div>
<div><br>
</div>
<div>I could not find any examples of Self Learning strategy, thus I just modified the ndn-grid scenario to use self-learning strategy instead of best-route one. I as well removed the GlobalRoutingHelper (as far as I understand Self strategy does not need it).</div>
<div></div>
<div>The outcome of the simulation is not what I expected:</div>
<div><br>
</div>
<div style="margin-left:40px">Time Node AppId SeqNo Type DelayS DelayUS RetxCount HopCount<br>
4.11533 0 0 1 LastDelay 0.115328 115328 1 4<br>
4.11533 0 0 1 FullDelay 3.11533 3.11533e+06 2 4<br>
7.0865 0 0 0 LastDelay 0.086496 86496 1 4<br>
7.0865 0 0 0 FullDelay 7.0865 7.0865e+06 3 4<br>
12.1153 0 0 2 LastDelay 0.115328 115328 1 4<br>
12.1153 0 0 2 FullDelay 9.11533 9.11533e+06 2 4</div>
<div><br>
</div>
<div>So just three satisfied interests over 20 seconds with CBR of 1 interest per second.</div>
<div><br>
</div>
<div>This is the default latest ndnSIM with no modifications except for the ones I described above.<br>
</div>
<div>
<div><br>
</div>
<div>Could somebody clarify to me if this is the expected way of how self-learning strategy works? Or am I missing something?</div>
<div><br>
</div>
<div>Thanks in advance for any help!<br>
</div>
<div><br>
-- <br>
<div dir="ltr">Andrew S.<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="x_gmail_signature">Andrew S.<br>
</div>
</div>
</body>
</html>