I'd suggest that it is easier to use the c++ function which tells you 
the neighbouring nodes.

P.

piyush sharma wrote:
> Hi Everybody,
> I want to know how can I install the adjacency matrix at each node ?
> I have created an adjacency matrix (which is a NxN matrix, where N is the
> no. of nodes in the topology) using some tcl commands in my ns2 tcl script.
> I want to install this adjacency matrix at every node so that each node
> becomes aware of its adjacent neighbour nodes. I have tried to bind this two
> dimentional array from tcl to c++ but it dont works.
> So what shall I do to install this matrix at each node ?
> Thanks!
> Piyush
>
>
>
>   

Reply via email to