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

Re: [ns] Node energy --- urgent!



Hi,
you have to "bind" the new variable in the constructor of the node and
give a default value in ns-default.tcl.

Riccardo Russo wrote:
> 
> Hi all.
> I have a simple proble. I have defined a new variable in node structure
> (c++ and tcl) because
> I would give to each node a different energy value.
> Now I don't know where in mobilenode.cc I have to set the energy to this
> value (that is
> set in TCL script). Anybody has an idea?
> Thanks a lot

-- 
Marceau Coupechoux
--------------------------------------
Alcatel CIT Corporate Research Center
Radio Department (UTR)

Route de Nozay 91460 Marcoussis France
tel : 01 69 63 43 59 fax : 43 60
mel : [email protected]
--------------------------------------