I have 10 nodes and one is connected to the other randomly. I want to check if any given node is a neighbor to another node. Lets say I am accessing node 3 and I want to check if node 4 or node 5 is a neighbor or not in NS-2.35. Please help.
https://books.google.co.in/books?id=WRseDQAAQBAJ&pg=PA38&lpg=PA38&dq=How+do+I+check+if+a+node+is+a+neighbor+to+another+node+in+NS2+(cpp)?&source=bl&ots=ak2L_A6YX2&sig=r3Q-KWq_f_Uj1CkhQa_zo5soc-o&hl=en&sa=X&ved=0ahUKEwjnnKPW0PjTAhWMvo8KHZ9QBIgQ6AEIPTAE#v=onepage&q=How%20do%20I%20check%20if%20a%20node%20is%20a%20neighbor%20to%20another%20node%20in%20NS2%20(cpp)%3F&f=false
Can I get a specific answer for this question please. Any one has any idea?
u need to apply a neighbor discovery algorithm.
@Ammar
How? Can you explain it to me please?
I am required to demonstrate and simulate the hybrid IP traceback (Using packet marking and packet logging schemes) in NS2. In Packet marking, the node marks each incoming packet with its nodeid...
03 April 2017 8,831 2 View
I am required to demonstrate and simulate the hybrid IP traceback (Using packet marking and packet logging schemes) in NS3. In Packet marking, the node marks each incoming packet with its nodeid...
01 January 1970 3,560 5 View
01 January 1970 9,828 4 View
Hi Community, I'm facing the issue of integration/compiling a new routing protocol in a WSN simulator. The final goal is to successfully add, configure this routing protocol in hardware devices...
01 March 2021 9,332 6 View
I have designed reflectarray element to generate OAM beams at 5.8GHz and feeding it though Horn Antenna on HFSS. After full wave simulation, i am not getting desired results i.e Radiation pattern...
01 March 2021 9,701 5 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
Hello, I have simulated a single battery cell using Thevenin equivalent circuit. For a battery pack, I have a large number of cells connected in series and parallel connections. Is there any way...
28 February 2021 2,116 1 View
I have designed a 24 GHz rectangular antenna on HFSS 3D model and got desired results while desing the same antenna with same dimensions I am getting resonance frequency at 27 GHz I am...
28 February 2021 4,426 2 View
I am familiar with finite element simulations and numerical schemes like the Gauss Legendre quadrature. I also know that the Gauss integration yields exact values for polynomials up to degree 2n-1...
27 February 2021 6,818 3 View
I am interested in evaluating mesh optimization solvers that converge to high aspect ratio unstructured hexahedral grids. In other words, I am interested in a solver that optimizes warpage,...
26 February 2021 7,279 2 View
I had a crystal hit in a well with 0.1M HEPEs pH 7.5, 10%(w/v) PEG 4000, and 20%(w/v) isopropanol. Why is isopropanol in w/v here if it's just solvent? How do I recreate this well condition?
25 February 2021 9,761 1 View
Does data from contact tracing help in establishing patterns of behavior and social interactions that lead to infections? There are cases here in the Philippines where patients have no travel...
25 February 2021 9,002 13 View
I am trying to seek out some Transgenomic Wavemaker software (happy to purchase a computer too) to operate a fraction collector. The only way to connect to the fraction collector so far is to...
23 February 2021 9,181 1 View