NS2: LEACH

Maqsad: ns2 da LEACH'ni ishga tushirish va testlar qilish.

(Maqsad sari) Qadam(lar):
MIT LEACH extension - asli ns2.1b5 uchun ishlab chiqarilgan qo'shimcha bo'lib, hozirda mualliflari tomonidan dastaklanmaydi. Internet Workflow Systems tomonidan ns2.27 ga import qilingan, shuning uchun birinchi o'rinda shu variantni sinab ko'rdim. Lekin ns-allinone-2.27 ni o'rnata olmadim (Ubuntu 6.10). Sababi noaniq (hence I was told that it's due to new kernel on Ubuntu and ns2.27 was designed to work with older ones).

NS2.30 - hozirda Network Simulatorning oxirgi versiyasi -> O'rnatildi (Ubuntu 6.10). Keyin ns-allinone-2.30 ga LEACH qo'shimchasini import qilib chiqdim.
$ns-allinone-2.30_installation_dir/> make clean
Keyin ns-2.30 ni yangi qo'shimcha bilan birgalikda qayta o'rnatdim.
$ns-allinone-2.30_installation_dir/ns-2.30/> ./leach_test -> Hech qanday natija bermayapti (crap). Sababi noaniq.

Yechim: Yo'q (hozircha)

Bugun esa qilingan testlar natijasi bo'yicha prezentatsiya qilish kerak...

Comments