From 120c13fc4faf264d8b1d3e94c4799860de9e3dea Mon Sep 17 00:00:00 2001 From: couchot Date: Thu, 5 Dec 2013 14:03:36 +0100 Subject: [PATCH 1/1] quelques modifs --- IWCMC14/SensorNetwork.png | Bin 17107 -> 17365 bytes exp_controle_asynchrone/simulMWSN.py | 14 +++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/IWCMC14/SensorNetwork.png b/IWCMC14/SensorNetwork.png index 14bc26297b7d684b7f546698a27873254665df83..adce44b0180349dbbf747bc14c8b7ba949436491 100644 GIT binary patch literal 17365 zcmeI4`(M;``u916D1uZrk)lv*tu>frtU>{DN=Y*rU;v#IJgmAqiiF)FiX0S$!cDde z59$}Y{=jnut(B=O7wlfK@W#~{0aLENKjqen{p0v` z_wDyTbLZEqSzoLy;Mb12H366SwJ-V1zNHIyuh{5+{nOL5zp&^3cmIFMbQ>obt$k-x z#aD&p>-NpnmHf@gdb$)}S_xy^@rp$D$uXguW3KTxGU9>mebJI_WR#<7>PgCF0 zb#XNlJ`yag3)AX)Cs%}9`}C^&XAE~gq-0l7$2f%{Zxdg=P4_{yzMNSu+TFf1e_uhW zW3E8ha>qOHs#sed)4|d4k7|5RGYp zPdIIA)!3iw{C2y>`|Tc7>#nEq3NMCly(H`GD>2k`%{MPtt47|;95MVotD34IwG5WC zT1@0J-D|n|w3@PR(GSY;%u1wa%9O;{5-N8&}OB1K8B1rqz;Gr>dI-;y688?uv42gSo znGWbLJc9L;XqOhvtg^vq+9n^kQdktldIOIqPDzpVj@Fnmq2}&5qjjB3wYcJd{_aNYWKA%GhGC&4>?>G2 zwbu(-4jf7 zY!VmZ?)cZ`|YvziiV;MAToD9_!$Fo>*K!FrN4}yGs+V$)TXYygPl9pn>4_HSnZ7?Dl?8H zUa;`ZN&7dxSWWP=BmP@mFAJ3T44cC|MTXwD4840W=6>uH9p`tWX-2@^P__}*P?W~J z`?44WCLK-0AiXE_rR_2F%8K{9(Lk@K=w)mu`lg{M@Cd!W1~aY2 z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hC{#8oI;ZvMw z!DjG(1CaZ-4OxtW%2d2htAPr(ShD6|t^$XWpW}I#rlL^gBIE3@xts-Wkc<~q!rOYQ z@q@k$oW1S{nVBmYv*mqwC{{Q}bz`|^Mb?dF3xPWQLBt6=;tR!JYr$U&)NAjaz6DOH>9jYd!~@K zy&vN|Aj}P|TwvA^Wwa;Mdq&sa0BD4oG;nv5oAUDs6P&mScb`3KF*62h^$}w^G@WMg z2*gk?+`*z>0K>9nyY_KfPNQ0GfZz>so9@PW)cFD^Z{X4x>{DVDM#1|45o29gi-g&b zOdZE54rL;re!c(z diff --git a/exp_controle_asynchrone/simulMWSN.py b/exp_controle_asynchrone/simulMWSN.py index 43083c4..218ecb7 100644 --- a/exp_controle_asynchrone/simulMWSN.py +++ b/exp_controle_asynchrone/simulMWSN.py @@ -16,7 +16,7 @@ epsilon = 1E-10 vrate = 0.8 p = 0.7 coteCarre = 50 -distanceEmmissionMax = 30 +distanceEmmissionMax = 20 nbiter = 1000 POS = 1 POS_NUL = 2 @@ -59,11 +59,12 @@ def afficheGraph(G,l,tx,ty,sink): img = cv.CreateImage ((tx, ty), 32, 3) cv.Rectangle(img, (0,0),(tx,ty), cv.Scalar(255,255,255), thickness=-1) def px((x,y)): - return(int(tx*x/coteCarre),ty-int(ty*y/coteCarre)) + u = float(tx)/(coteCarre + 2*distanceEmmissionMax) + return(int(distanceEmmissionMax*u + x * u),int(distanceEmmissionMax*u + y * u)) for i in set(range(len(l)))-set([sink]): (x,y) = l[i] pix,piy = px((x,y)) - demx = distanceEmmissionMax*tx/coteCarre + demx = distanceEmmissionMax*tx/(coteCarre+2*distanceEmmissionMax) cv.Circle(img, (pix,piy),demx, cv.Scalar(125,125,125)) for i in set(range(len(l)))-set([sink]): @@ -107,13 +108,13 @@ G.add_weighted_edges_from(lg) #nx.draw(G) #pb.show() -#(G,l) = genereGraph() +(G,l) = genereGraph() N = G.nodes() #V = list(set(sample(N,int(len(N)*vrate)))-set([sink])) V = list(set(N)-set([sink])) source = V print "source",source -#afficheGraph(G,l,500,500,sink) +afficheGraph(G,l,500,500,sink) #nx.draw(G) #pb.show() @@ -121,8 +122,7 @@ print "source",source - - +exit() #print G.edges(data=True) #TODO afficher le graphe et etre sur qu'il est connexe -- 2.39.5