you can have a look on the following link, hope it will help.
http://www.cse.ohio-state.edu/~sakai/research/ns2_greedy.html
-Jose-
Date: Wed, 8 Jan 2014 23:05:38 -0800
From: rmo...@hotmail.com
To: ns-users@ISI.EDU
Subject: [ns] Simulating a C++ program in NS2
Hi..
I'm new to NS2,
Hi,
there is a unique node ID generated by NS2 for the nodes during their creation.
it's an int. and since a short int is 16 bits, an int is 32 bits, and a long
int is 64 bits. i suppose by acceding the class Node in the c++ hierarchy and
setting the int nodeid_ member as short int nodeid_,
have a look at this,
http://mailman.isi.edu/pipermail/ns-users/2011-September/071003.html
-Jose-
Date: Fri, 8 Nov 2013 12:00:19 +
From: exceptional_attract...@yahoo.com
To: ns-users@ISI.EDU
Subject: [ns] find neighbors in transmission range of mobile node
Hi ,
How we can find
Hi Fares,
i had a tcl script for my experiments. it has a fixed source and destination
(node 0 and node 1 respectively), the others are randomely generated, after is
the code tcl .
#beggining**
# Define options
set val(chan) Channel/WirelessChannel
Hi Zineb;
http://mailman.isi.edu/pipermail/ns-users/2011-September/071004.html
hope it will help.
-Jose-
Date: Sat, 18 May 2013 06:59:33 -0700
From: z.rezaie...@yahoo.com
To: ns-users@ISI.EDU
Subject: [ns] God function
Hello friends,
I have a question about god function.
hi everyone,
is it correct (doesn't induce to errors) to put a dynamic structure in a packet
header, for example in AODV request header put a pointer to a structure str
{node_energy, next} to record the nodes energy along the request path?
thx in advance.
the following function definition you can create object
of the node class.now using the c_node object of the node class you can access
methinds of the node class. Node* c_node=Node::get_node_by_address(index);
Regards,Itishi
From: jose nmrd jose-...@hotmail.com
To: itishi saxena itish
Hi everyone,
here is the problem, i have added some
code to the class Node to do some computations, i'm modifying the
protocol AODV where i have to use the computations added in the class
Node, but after looking at the class AODV composition there is just the
address of the Node, not the
other.
I hope it will give you sufficient hint for your task.
Itishi
From: jose nmrd jose-...@hotmail.com
To: ns-users@isi.edu ns-users@ISI.EDU
Sent: Wednesday, 17 April 2013 5:30 PM
Subject: [ns] How to get a reference of a node from AODV?
Hi everyone,
here