← ref. #37.
What do you mean by "It".
"output code" : Please elaborate what you mean.
first "code block" how to simulate all the files using these commands
The first "code block" in post #34 is one command.
How to simulate all the files : Not simulation files.
The second "code block" in post #34 : Configuration / "library" files.
And all the files are used by $ ./test → leach_test.
* All the ~20 files we talk about are text files.
Please read the files, to know how they are connected.
$ ns wireless.tcl : The Leach `wireless.tclŽ is a dedicated Leach file.
And you cannot run it separately. No $ ns wireless.tcl in LEACH !
Is run with ./test, which runs 'leach_test.