On Thu, Feb 12, 2009 at 8:45 AM, Karthik Talloju
<[email protected]>wrote:

>
> In the following code(it is not complete) :
>
> $node_(0) set X_ 100.0
> $node_(0) set Y_ 50.0
> $node_(0) set Z_ 0.0
>
> $node_(1) set X_ 300.0
> $node_(1) set Y_ 50.0
> $node_(1) set Z_ 0.0
>
> # define mobiles initial position for nam
> for {set i 0} {$i < $val(nn)} {incr i} {
>     $ns_ initial_node_pos $node_($i) 50
> }
>
> what is the significance of 50 ? Why does nam need nodes' initial
> position? We have specified the coordinates of node0 and node1
> already. Can that information not be used by nam ?
>
> Thanks for the help,
> Karthik
>
>
Hi Karthik,
This is Karthik too :)
node initial position from what i know gives the size of the node.
The nomenclature is misleading ??? yea, I had the same doubt when i started
about a week back :)
u can check by have nodes with different initial position.

-- 
KarthiK

Reply via email to