Re: [ns] IsNeighbor function

2009-08-05 Thread Daniel Charles
neerajgupta escreveu: > hi all > >i am using IsNeigbor() function(defined in /mobile/god.cc) in mac802_11.cc > to check whether the two nodes are neighbors or not. > > the parameters are like > God::instance()->IsNeighbor((u_int32_t)index_,src) > > in god.cc i have diable the energy model i

[ns] IsNeighbor function

2009-08-05 Thread neerajgupta
hi all i am using IsNeigbor() function(defined in /mobile/god.cc) in mac802_11.cc to check whether the two nodes are neighbors or not. the parameters are like God::instance()->IsNeighbor((u_int32_t)index_,src) in god.cc i have diable the energy model in IsNeighbor(int i, int j) function.