52

波动均分算法 | Aotu.io「凹凸实验室」

 6 years ago
source link: https://aotu.io/notes/2018/01/11/waveaverage/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
「波动」和「均分」大部分读者朋友是知道的,但看到「波动均分」应该是一头雾水的。其实,这个名词是笔者拼凑出来的。 什么是「波动均分」? 把指定的数值 A,分成 N 份,此时每份的数值在一个固定的区间 [max, min] 内。 从视觉上看,每份的数量在平均线上下波动,并带有随机性: 这种分配不是严格意义上的「均分」,但它却跟「均分」很相似,按笔者的理解给这个算法取个名字 —— 「波动均分」。 波动

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK