Description: Classic leach agreement, attached a detailed interpretation, suitable for beginners
File list (Check if you may need any files):
LEACH协议\LEACH协议源码\Makefile
.........\.............\mit.tar.gz
.........\.............\...\leach_sims\conditions.txt
.........\.............\...\..........\leach.alive
.........\.............\...\..........\leach.data
.........\.............\...\..........\leach.energy
.........\.............\...\..........\leach.err
.........\.............\...\..........\leach.out
.........\.............\...\..........\leach.save1
.........\.............\...\..........\leach.save2
.........\.............\...\..........\startup.energy
.........\.............\...\..........\TDMAschedule.0.txt
.........\.............\...\..........\TDMAschedule.100.txt
.........\.............\...\..........\TDMAschedule.120.txt
.........\.............\...\..........\TDMAschedule.140.txt
.........\.............\...\..........\TDMAschedule.160.txt
.........\.............\...\..........\TDMAschedule.180.txt
.........\.............\...\..........\TDMAschedule.20.txt
.........\.............\...\..........\TDMAschedule.200.txt
.........\.............\...\..........\TDMAschedule.220.txt
.........\.............\...\..........\TDMAschedule.240.txt
.........\.............\...\..........\TDMAschedule.260.txt
.........\.............\...\..........\TDMAschedule.280.txt
.........\.............\...\..........\TDMAschedule.300.txt
.........\.............\...\..........\TDMAschedule.320.txt
.........\.............\...\..........\TDMAschedule.340.txt
.........\.............\...\..........\TDMAschedule.360.txt
.........\.............\...\..........\TDMAschedule.380.txt
.........\.............\...\..........\TDMAschedule.40.txt
.........\.............\...\..........\TDMAschedule.400.txt
.........\.............\...\..........\TDMAschedule.420.txt
.........\.............\...\..........\TDMAschedule.440.txt
.........\.............\...\..........\TDMAschedule.460.txt
.........\.............\...\..........\TDMAschedule.480.txt
.........\.............\...\..........\TDMAschedule.500.txt
.........\.............\...\..........\TDMAschedule.520.txt
.........\.............\...\..........\TDMAschedule.60.txt
.........\.............\...\..........\TDMAschedule.80.txt
.........\.............\...\rca\energy.cc
.........\.............\...\...\energy.h
.........\.............\...\...\ns-ranode.tcl
.........\.............\...\...\rca-ll.cc
.........\.............\...\...\rca-ll.h
.........\.............\...\...\rcagent.cc
.........\.............\...\...\rcagent.h
.........\.............\...\...\resource.cc
.........\.............\...\...\resource.h
.........\.............\...\...\........s\ns-energy-resource.tcl
.........\.............\...\...\.........\ns-neighbor-resource.tcl
.........\.............\...\...\.........\ns-resource-manager.tcl
.........\.............\...\...\.........\ns-resource.tcl
.........\.............\...\uAMPS\bsagent.cc
.........\.............\...\.....\bsagent.h
.........\.............\...\.....\extras.tcl
.........\.............\...\.....\ns-bsapp.tcl
.........\.............\...\.....\ns-leach-c.tcl
.........\.............\...\.....\ns-leach.tcl
.........\.............\...\.....\ns-mte.tcl
.........\.............\...\.....\ns-stat-cluster.tcl
.........\.............\...\.....\sims\100nodes.txt
.........\.............\...\.....\....\genscen
.........\.............\...\.....\....\leach-c.tcl
.........\.............\...\.....\....\leach.tcl
.........\.............\...\.....\....\mte.tcl
.........\.............\...\.....\....\nodescen
.........\.............\...\.....\....\stat-clus.tcl
.........\.............\...\.....\....\uamps.tcl
.........\.............\...\.....\stats.tcl
.........\.............\apps\app.cc
.........\.............\....\app.h
.........\.............\mac\channel.cc
.........\.............\...\ll.h
.........\.............\...\wireless-phy.cc
.........\.............\...\wireless-phy.h
.........\.............\...\phy.cc
.........\.............\...\phy.h
.........\.............\...\mac.cc
.........\.............\...\mac-sensor-timers.cc
.........\.............\...\mac-sensor-timers.h
.........\.............\...\mac-sensor.cc
.........\.............\