Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一些基于征费飞行的随机游走的人工智能。我目前让他们以完全随机的方式移动(最小值和最大值之间的随机距离,以及最小值和最大值之间的随机等待时间)。我知道 Levy 航班从幂律分布中汲取了这两种忧郁。我知道我需要以某种方式从幂律分布中获取每个步长,但 C# 只有一个随机函数,它取自均匀分布。我不知道如何从 C# 中的幂律分布中获取值。我怎样才能做到这一点?
我是一个编程新手,所以请让你的回答尽可能接近 Layman 的!