Welcome to LQ.
The files in `tcl/mobility/´ are configuration files,
movement files, traffic files :
Used by other files.tcl for simulation.
The file `tcl/mobility/leach-c.tcl´ is a text file, like all other *.tcl.
Please read the file to know that it isn't a simulation file.
Using "leach_c" : Edit line 5 in leach_test to : alg=leach_c
.. And run $ ./test
Leach info
http://www.linuxquestions.org/questions/tags/leach/
Leach+Pegasis
http://www.linuxquestions.org/questions/tags/pegasis/
-