Good morning for all people,
I am steel trying to understand surge application because it is the basic 
algorithm for multihop routing.
I compared the two modules : MultiHopLEPSM and MultiHopWMEWMA but it seems to 
be the same alogorithm.
However, I remarqued some simple differences:

In MultiHopLEPSM:

  // If we haven't seen a recieveEst for us from our neighbor, decay our sendEst
      // exponentially
      if (Nbr->liveliness < MIN_LIVELINESS) {
        Nbr->sendEst <<= 1; ////////////////////////////////////////////// but 
by this instruction we don't decay our sendEst
      }

In MultiHopWMEWMA

 // If we haven't seen a recieveEst for us from our neighbor, decay our sendEst
      // exponentially
      if (Nbr->liveliness  == 0) {
        Nbr->sendEst >>= 1; //////////////////// it is logical
      }


Also the command #define MULTI_HOP_DEBUG 1 is commented in MultiHopWMEWMA but 
in MultiHopLEPSM is not.
( I don't understand what is its meaning).
I read this answer 
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-December/006921.html
but it doesn't explain the real difference between LEPSM and WMEWMA.

Thanks for your replying and your interest.


      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. La boite email la plus appreciƩe au monde. 
http://mail.yahoo.fr
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to