📌  相关文章
📜  javascript 伪随机 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:08.206000             🧑  作者: Mango

代码示例2
if r < p1 then
ni generates N uniform unweighted random walkers as TSA.
else if p1 ≤ r < p2 then
ni generates N weighted random walkers as TSA with a low α value.
else if p2 ≤ r < 1 then
ni generates N weighted random walkers as TSA with a high α value.