Generate Possion Dis.
step1:Generate a random number between [0,1]
step2:Let u=F(x)=1-[(1/e)x]
step3:Slove x=1/F(u)
step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn
step5:If the first packet was generated at time [0], than the
second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2],
and so on ….
Random-number generation
1.static method random from class Math
-Returns doubles in the range 0.0 <= x < 1.0
2.class Random from package java.util
-Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values
-Is seeded with the current time of day to generate different sequences of numbers each time the program executes
標簽:
Generate
Possion
between
random
上傳時間:
2017-05-25
上傳用戶:bibirnovis
離散余弦變換對圖象信號有近似最優的去相關能力, 但多維的變換公式一直沒有給出. 為此深入研究了
三維離散余弦變換, 提出了任意尺寸的三維函數f (x , y , z ) 的正交離散余弦變換公式, 克服了以前系數的取值必須
相等的缺點, 并將之應用于彩色靜止圖象的壓縮編碼中, 使得彩色圖象的R、G、B 3 幀可以作為一個整體同時進行
變換, 極大地去除了圖象R, G,B 3 幀間的相關性. 理論分析和實驗結果表明, 在大幅度地增加壓縮比的同時, 峰峰
信噪比也有明顯提高, 并且與國際標準JPEG,M PEG 有很好的兼容性.
標簽:
變換
離散余弦
函數
圖象信號
上傳時間:
2014-01-26
上傳用戶:tb_6877751