[ndnSIM] location of a moving node
Marzieh Babaeianjelodar
babaeim at clarkson.edu
Mon Jun 5 10:32:42 PDT 2017
Hello again,
We found that we could get the square of the distance in mobility-helper.h file:
Static double getDistanceSquaredBetween(Ptr <Node> n1, Ptr <Node> n2)
and inside the mobility-helper.cc <http://mobility-helper.cc/> file we found that it does return the distance squared:
return distSq;
However, we have problems using that function in our own scenario. Could you help us get it to work properly.
> On Jun 5, 2017, at 11:50 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu> wrote:
>
> Hello all,
>
> Me and my Research partner have been creating clusters of moving nodes in ndnSIM. However, we want to find a way to choose between the moving nodes based on their location (coordinates) and forward the interest to another cluster from that chosen node. How could we do that?
>
> Best Regards,
> Marzieh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170605/1098f97b/attachment.html>
More information about the ndnSIM
mailing list