📅  最后修改于: 2022-03-11 15:01:08.206000             🧑  作者: Mango
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.