]> AND Private Git Repository - desynchronisation-controle.git/blobdiff - exp_controle_asynchrone/simulMWSN.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
quelques typos
[desynchronisation-controle.git] / exp_controle_asynchrone / simulMWSN.py
index 45326b6a30dc9d263f5095e048dc7ce32a4c3ed9..8e286a33e631f1e1832c862cae9079f5091ffc00 100644 (file)
@@ -377,7 +377,7 @@ def maj(k,maj_theta,mxg,idxexp,comppsh=False):
                     t= float(2*v[h]*mt.log(float(sigma2)/D))/(3*gamma*la[h])
                     rep = mt.pow(t,float(3)/5)                
                 else :
                     t= float(2*v[h]*mt.log(float(sigma2)/D))/(3*gamma*la[h])
                     rep = mt.pow(t,float(3)/5)                
                 else :
-                    rep = 10
+                    rep = 1000
             else :                
                 t= float(-3*la[h]+mt.sqrt(9*(la[h]**2)+64*delta*v[h]*mt.log(float(sigma2)/D)/gamma))/(16*delta)
                 rep = mt.pow(t,float(3)/5)
             else :                
                 t= float(-3*la[h]+mt.sqrt(9*(la[h]**2)+64*delta*v[h]*mt.log(float(sigma2)/D)/gamma))/(16*delta)
                 rep = mt.pow(t,float(3)/5)