[ns] explanation of the line

neeraj gupta neerajgupta37 at rediffmail.com
Mon Jun 8 02:22:15 PDT 2009


hi all

 any anybody explain what the following is doing
   
  netif_->node()->energy_model()->add_neighbor(src);

 the above line is in 802_11.cc file. where it is storing the neighbors.where is energy_model() function in the ns-2.30

Neeraj Gupta
Assistant Professor
HOD, CSE & IT Department
Hindu College of Engineering
Sonepat


More information about the Ns-users mailing list