<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Mini-NDN is an NDN emulator. It runs real instances of NFD and other packages. If you want to implement your own replacement policy, you will have to do that in the NFD. For example, you can check how lru is implemented (e.g. <a href="https://github.com/named-data/NFD/blob/master/daemon/table/cs-policy-lru.hpp" id="LPNoLPOWALinkPreview_1">https://github.com/named-data/NFD/blob/master/daemon/table/cs-policy-lru.hpp</a>)
and try to do something similar for your own custom policy. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Once the policy is implemented/available in the NFD, it will be automatically available in Mini-NDN (emulator). </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Saurab</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div id="appendonsend"></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> Samir Nassane <samir.nassane@gmail.com><br>
<b>Sent:</b> Monday, February 20, 2023 4:57 AM<br>
<b>To:</b> Saurab Dulal (sdulal) <sdulal@memphis.edu><br>
<b>Cc:</b> Lan Wang (lanwang) <lanwang@memphis.edu>; mini-ndn@lists.cs.ucla.edu <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> how to write new CS policy</font>
<div> </div>
</div>
<div>
<table border="2" cellpadding="3" cellspacing="2" style="background-color:#FFEB9C; border-collapse:collapse; border:1px solid #000000; color:#000000; width:100%">
<tbody>
<tr>
<td align="center"><a target="_blank" style="font-weight:bold; color:#000000; display:block; text-align:left; font-size:8pt; line-height:10pt; font-family:'Calibri'">CAUTION: This email originated from outside of the organization. Do not click links or open
attachments unless you recognize the sender and trust the content is safe.</a></td>
</tr>
</tbody>
</table>
<br>
<div>
<div dir="auto">Hi
<div dir="auto">How to implement my own CS remplacement policy in Mini -NDN.</div>
<div dir="auto">Thanks.</div>
</div>
</div>
</div>
</body>
</html>