Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread sara MA
My beleive is whenever I run the ns command for my tcl file, the nam file for that tcl file is overwritten, am I wrong? From: [EMAIL PROTECTED] CC: ns-users@ISI.EDU Subject: Re: [ns] Random motion for ad-hoc network Date: Tue, 08 Aug 2006 14:14:14 +0930 sara MA wrote: hello: I'm using

Re: [ns] Random motion for ad-hoc network

2006-08-08 Thread plucs
PROTECTED] CC: ns-users@ISI.EDU Subject: Re: [ns] Random motion for ad-hoc network Date: Tue, 08 Aug 2006 14:14:14 +0930 sara MA wrote: hello: I'm using these codes for creating random motion in an ad-hoc network: for {set i 0} {$i $val(nn) } {incr i} { set node_($i

[ns] Random motion for ad-hoc network

2006-08-07 Thread sara MA
hello: I'm using these codes for creating random motion in an ad-hoc network: for {set i 0} {$i $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1 } for {set i 0} {$i $val(nn) } {incr i} { $node_($i) start } The

Re: [ns] Random motion for ad-hoc network

2006-08-07 Thread plucs
sara MA wrote: hello: I'm using these codes for creating random motion in an ad-hoc network: for {set i 0} {$i $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 1 } for {set i 0} {$i $val(nn) } {incr i} { $node_($i)