[ns] setting random movement

2008-10-01 Thread sriram balakrishnan

in wireless1.tcl the random movement of mobile node is OFF . how do we turn
it on.
i had earlier asked how to set range for a node i have found the answer
thank q

-- 
B Sriram
Wing Commander
mob : 09733706981


[ns] $ns rtmodel-at $time (down/up) $N1 $N2 ISSUE

2008-10-01 Thread Davide

hi,

I know that with this command i can modify the topology of the network.

my problem is that i need to use this command inside a procedure (without
define at $time)

is there any way to do that?

Davide


Re: [ns] range of mobile nodes

2008-10-01 Thread Mayur

sriram balakrishnan wrote:
 -- Forwarded message --
 From: sriram balakrishnan [EMAIL PROTECTED]
 Date: Tue, 30 Sep 2008 17:44:04 +0530
 Subject: range of mobile nodes
 To: ns-users@isi.edu

 hi

 i would like to know where is the range of the node/mobile node set, for
 example if i want that i should set the range of my node as 200 meters and
 anything beyond that is to be sent in multi hops.

   
You have to play with Carrier Sensing Threshold and Receiver Threshold 
as follows.
Phy/WirelessPhy set CSThresh_ value_1 ;#Foe carrier sensing range
Phy/WirelessPhy set RXThresh_ value_2 ;# For Receiver Threshold

whehre, the value_1/value_2 is the received power level below which the 
packet will not be sensed/understood respectively. To know which value 
to use for a particular distance use the 
ns2dir/indep-utils/propagation/threshold.cc utility. Just compile it 
and run it to know its usage. It takes distance (mtrs) as input and 
gives ThresholdPower as the output, which you can use for above values...
 By the way, the default values are set in 
ns2dir/tcl/lib/ns-defaults.tcl such that the cs range and rx range are 
550 mtrs and 250 mtrs resp.

regards,
Mayur



[ns] An AntNet algorithm implementation

2008-10-01 Thread Ricardo Schmidt

Hello all!

I've already looked for the AntNet algorithm in the Internet. But, the
links that I found, all of them were not available anymore.

Could anyone tell me where I could find an AntNet implementation? The
more original the better...

Thanks very much,
Regards.

-- 
Ricardo de Oliveira Schmidt

Networking and Telecommunications Research Group (GPRT)
Informatics Center (CIn), Federal University of Pernambuco (UFPE), Brazil.
[EMAIL PROTECTED] / [EMAIL PROTECTED]
http://cin.ufpe.br/~ros2