HashMap が Java でどのように実装されているかを理解しようとしています。そのクラスの (コードとコメントの) すべての行を理解しようと決心しましたが、すぐに抵抗に直面したことは明らかです。次のスニペットは HashMap クラスからのもので、ポアソン分布について説明しています。
Ideally, under random hashCodes, the frequency of
nodes in bins follows a Poisson distribution
(http://en.wikipedia.org/wiki/Poisson_distribution) with a
parameter of about 0.5 on average for the default resizing
threshold of 0.75, although with a large variance because of
resizing granularity. Ignoring variance, the expected
occurrences of list size k are (exp(-0.5) * pow(0.5, k) /
factorial(k)). The first values are:
0: 0.60653066
1: 0.30326533
2: 0.07581633
3: 0.01263606
4: 0.00157952
5: 0.00015795
6: 0.00001316
7: 0.00000094
8: 0.00000006
more: less than 1 in ten million
私は数学の平均的な人で、最初にポアソン分布が何であるかを理解しなければなりませんでした。私にそれを説明した簡単なビデオに感謝します。
ポアソンを使用して確率を計算する方法を理解した後でも、上記の内容を理解できません。
誰かがこれをより簡単な言葉で、可能であれば例を挙げて説明できますか? それは私の仕事をもっと面白くするでしょう。