Re: [ns] neighbor list

2010-05-16 Thread Jonathan Petit
Hi, I need to compute the number of one-hop neighbors at frequent time for each node. Please, paste your code, we may help each other. Jonathan Petit. Neeraj Gupta wrote: > > > > Hi all > >i have written a small function to find out all the neighbors of a > node. The problem where s

[ns] neighbor list

2009-05-29 Thread neeraj gupta
Hi all i have written a small function to find out all the neighbors of a node. The problem where should i place this function and from where this function is to be called. Initially i placed in mac802_11.cc and called it from recvCTS function but on running the script the i got segmentat

Re: [ns] Neighbor List

2009-03-13 Thread Mustafa Kamal
, Joarder Mohammad Mustafa Kamal --- On Fri, 3/13/09, Mayank Daga wrote: From: Mayank Daga Subject: [ns] Neighbor List To: ns-users@ISI.EDU Date: Friday, March 13, 2009, 4:46 PM Hey all, Please let me know, how to access the Neighbor List of any mobile node. It is imperative for my project

[ns] Neighbor List

2009-03-13 Thread Mayank Daga
Hey all, Please let me know, how to access the Neighbor List of any mobile node. It is imperative for my project work and I am not being to able to find it. I found a function addNeighbor(node) in node.cc but it seems that it is not called from anywhere. Then how are neighbors being maintained.

Re: [ns] Neighbor List for Wireless Nodes

2009-02-24 Thread Mathiew Moussa
Hello Mayank, The Link Below is for a thread between me and fellow NS users about almost the same query. I hope its helpful. http://www.nabble.com/How-to-get-the-Nodes'-coordinate-from-TCL-to-C%2B%2B-td21599457.html Regards, Mathiew Quoting Mayank Daga : > > Dear All, > > I want to know how

Re: [ns] Neighbor List for Wireless Nodes

2009-02-23 Thread Li Pan
Hi, You can go to the routing protocol code you use and print out the neighbour list, fprintf(stderr, "%d", neighbourvalue); --- On Sat, 2/21/09, Mayank Daga wrote: > From: Mayank Daga > Subject: [ns] Neighbor List for Wireless Nodes > To: ns-users@ISI.EDU > Receiv

[ns] Neighbor List for Wireless Nodes

2009-02-21 Thread Mayank Daga
Dear All, I want to know how can I access the Neighbor List of mobile nodes. I know that Node object maintains a Neighbor List, but I am not able to figure out the same for mobile nodes. The reason I want to access this list is to count the number of neighbors of a particular node at regular int