首页 | 本学科首页   官方微博 | 高级检索  
     


A linear algorithm for generating random numbers with a givendistribution
Authors:Vose  MD
Affiliation:Dept. of Comput. Sci., Tennessee Univ., Knoxville, TN;
Abstract:Let ξ be a random variable over a finite set with an arbitrary probability distribution. Improvements to a fast method of generating sample values for ξ in constant time are suggested. The proposed modification reduces the time required for initialization to O( n). For a simple genetic algorithm, this improvement changes an O(g n 1n n) algorithm into an O(g n) algorithm (where g is the number of generations, and n is the population size)
Keywords:
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号