Advertisement
jargon

Fukushima AI - Zero Radiation Exposure Related Casualties

Jul 27th, 2011
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. Fukushima AI - Zero Radiation Exposure Related Casualties
  2.  
  3. function v(a,b){c=0;r=0;t=0;foreach(a as k=>v){if(isset(b[k])){c++;t=b[k]-v;r+=t*t;}}if((c!==0)&&(r!==0)){r=sqrt(r);}return r;}function s(h,a,b){r=0;t=0;e=v(h[a],h[b]);foreach(h as c=>d){if((a!==c)&&(b!==c)){t++;f=v(h[a],h[c]);g=v(h[b],h[c]);if(e>f){r++;}if(e>g){r++;}}}return 1-r/2/t;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement