[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link Cost



Hi,

Maybe you can try this in tcl,

set link [$ns link node1 node2]
$link cost cost-val

where cost-val is the cost of this $link. but first of all you need to 
define the link.

shuqian

On Sat, 20 Feb 1999, Wee Ching Wi wrote:

> Hi,
> 
> Does anyone know how to change the link cost for any pair of nodes. I know
> there is
> an instproc cost{ } but  not too sure how to use it.
> 
> Thanks for your help.
> 
> Wee Ching Wi
> 
>