[ns] intersection and union calculation of neighborhood

mgupta meeta.gupta at yahoo.com
Sat Apr 4 11:00:07 PDT 2009


hi all,
 
         i need some help in coding the following calculation in a MANET
environment................
 
suppose at time T0 node x has neighborhood set N0 and at time T1 it's
neighborhood is N1. I would like to calculate the intersection and union of
the two sets N0 and N1 in the interval T0 through T1 i.e. the sets
 
         intersection(N0, N1) and union(N0, N1)  .
 
i am new to ns-2. so it would be very helpful if anyone could give an
example code to implement the above.
 
thank you
 
meeta
-- 
View this message in context: http://www.nabble.com/intersection-and-union-calculation-of-neighborhood-tp22886167p22886167.html
Sent from the ns-users mailing list archive at Nabble.com.



More information about the Ns-users mailing list