[ns] Help friends (S.O.S)
Please my friends, I have a big problem in implementing my new algorithm using NS2. I am using a wire-based network, and I want to generate a large number of nodes to simulate the real life, but I do not know how to generate these huge number of nodes. I have read in one paper that we can use topological data obtained from Lumeta project, but I do not now how to get these topologies. Pleasse, I need help from all of you. Thanks in advance Magdy
[ns] Help friends !!!
Hi, I am working in a wire-based topology, and I need each node in the topology to has a unique 16 bits ID. Actually I have a huge number of nodes in my topology. And I will use this 16 bits ID in future work. Is there any way to do this in NS2. Many thanks in advance Eng. Magdy
Re: [ns] Help friends !!!
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_, you will get what u want (NS2 will generate the id as short int (16 bits)). of course you have to recompile... Date: Sat, 4 Jan 2014 12:32:41 -0800 From: mfare...@yahoo.com To: ns-users@ISI.EDU Subject: [ns] Help friends !!! Hi, I am working in a wire-based topology, and I need each node in the topology to has a unique 16 bits ID. Actually I have a huge number of nodes in my topology. And I will use this 16 bits ID in future work. Is there any way to do this in NS2. Many thanks in advance Eng. Magdy