LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Leach protocol (https://www.linuxquestions.org/questions/linux-newbie-8/leach-protocol-4175578566/)

cage679 04-28-2016 12:14 PM

Leach protocol
 
How can I generate nam and xgraph for the leach on NS-2.35?

TB0ne 04-28-2016 02:24 PM

Quote:

Originally Posted by cage679 (Post 5537906)
How can I generate nam and xgraph for the leach on NS-2.35?

Read the "Question Guidelines" link in my posting signature. We'll be glad to help you with a specific problem, but you do have to show some effort of your own. What have you done/tried so far?

There is much in Google for "xgraph leach ns 2.35", with samples.

cage679 04-28-2016 04:32 PM

I've worked with NS2 previously for simple MANET projects, and researched leach protocol on NS2, however most of answers found are confusing and others even imply that NAM does not support leach. I need to compare leach and leach-c. Can you give any pointers?

knudfl 05-03-2016 06:24 AM

NAM : Not supported by mannasim, leach, etc.

Xgraph plots :
$ xgraph leach.alive.txt
$ xgraph leach-c.alive.txt

INFO : About ns-2.35 + LEACH : Works with a 64bits OS only >>
>> http://www.linuxquestions.org/questi...-4175556129/#7

Converting **.alive to **.alive.txt : leach__nodes-alive.awk
>> http://www.linuxquestions.org/questi...-4175556129/#9

Build example http://www.linuxquestions.org/questi...4175556129/#11


-

haitam09 03-24-2017 04:16 AM

rserve slot time
 
Please can someone help me how to reserve the "free slots time" transmission to another node member or to CH in the same cluster in ns-leach-c.tcl by TCL.
Thank you very much in advances.

rtmistler 03-24-2017 07:32 AM

Hi haitam09 and welcome to LQ.

Please note that you've re-opened a year old thread and I'm not sure your question is directly related to the original one. Either case, a possible different tactic here would have been to create a new question, but link to this or another question as a reference, as opposed to possibly confusing this existing, and long ago abandoned issue.

I feel that TB0ne's response in reply #2 is still applicable. Which is that you should read the question guidelines link from their signature. If you have disabled signatures, then you can access similar links by visiting the LQ Site FAQ which is also available on the right side menu of all LQ pages.

The main difference here is as opposed to performing a web search for the exact terms cited in their reply, you instead should substitute with terms applicable for the effort you are trying to do.

Please update the thread with further information about what you have tried on this topic and where you are stuck.

Remember that LQ members are not here to provide "on call" support. They are volunteers and also the way the LQ site works is that we are here to help you by way of guiding you towards a solution so you learn how to do these things independently in the future.


All times are GMT -5. The time now is 03:28 AM.