搜索资源列表
Queen
- 用概率算法结合回溯思想实现n皇后问题,并计算算法执行的时间。-Algorithm combined with the probability of backward thinking of the realization of n queen problem and algorithm execution time.
Untitled2
- 基于量子遗传算法的多目标优化,参数为种群规模m二50,量子位数n二2,转角步长初值氏=0.01二,变异概率p二二0.1,交叉概率Pc二0.8,限定代数丈~二5-Quantum genetic algorithm-based multi-objective optimization parameters for population size m 50, the quantum number n = 2, the corner step initial value s = 0.01, mutati
2
- 概率算法求兀值,通过半圆,随机投掷n个点,根据落在圆内点个数k求兀的近似值-Wu probabilistic algorithm for value, by semi-randomly throwing n points, based on the number of points fall within the circle k approximation seeking Wu
Gaussian_Sequence
- 极坐标方法产生高斯白噪声 产生N(0,1)高斯白噪声序列,最常见的方法是极坐标法,其计算步骤如下所示: (1) 产生两个独立同分布的随机序列(0,1),U1,U2; (2) 令V1=2U1-1;V2=2U2-1;并计算S=V1^2+V2^2 (3) 若S>1,则返回第一步;否则计算Y=sqrt(-2*ln(S)/S) (4) 令实部I=V1*Y,虚部Q=V2*Y,再求Output=I+Q*i,即可得到随机复数高斯白噪声序列。 理论上,可证明上述产生的I、Q两路序