搜索资源列表
tuihuo
- 简单的pso程序,用来计算最大值.y=x2-simple procedure used to calculate the maximum. Y = x2
032223
- 设f(x)=1+x+x2+x5+x27,试分别写出实现下列移位寄存器的程序: 以f(x)为联接多项式的DSR; 以f(x)为联接多项式的LFSR。 可供选择的联接多项式: f1(x)=1+x+x4+x6+x30; f2(x)=1+ x3+ x31; f3(x)=1+ x6+ x31; f4(x)=1+ x7+ x31; f5(x)=1+ x13+ x31; -Let f (x) = 1 x x2 x5 x27, respectively try to writ
led_5
- //串行驱动led显示, //一个74hc595位移寄存器驱动三极管驱动led位, //两个74hc595驱动led段,方式位5位x8段x2=10个数码管 //5分频,每次扫描时间位1.25ms-/ / Serial Driver led, / / a 74 hc595 displacement Driver Register triode-led drive, / / 2 74 hc595 led drive, 5-way x8 of x2 = 10 digital control
ga_program
- /*y=100*(x1*x1-x2)*(x1*x2-x2)+(1-x1)*(1-x1)其中-2.048<=x1,x2<=2.048作适应度函数求最大适应度即为函数的最大值 */-/ * y = 100 * (x1 * x1 - x2) * (* x2 - x1 - x2) (1-x1) * (1-x) which -2.048
BP_sin(x)-x
- BP算法拟合f(x1,x2)=sin((x1)/x1)*sin((x2)/x2)*函数,样本数为21*21对-BP fitting algorithm f (x1, x2) = sin ((x) / x) * sin ((x2) / x2) * function, sample size of 21 * 21 pairs
game_Pushbox
- C++开发的推箱子游戏 1.类的划分 Cdraw类 绘画加载地图(包括围墙、人、箱子等等) Cman类 是否完成(过关) 即时更新地图 2.设计思想 从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap, 单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2,
real_noise
- Adds noise to processes x1(n) and x2(n), at SNR=snr, using seeds s1 and s2.-Adds noise to processes x1 (n) and x2 (n), at SNR = snr, using seeds s1 and s2.
Projectjohu123006
- crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下:
liujc
- 这是计算机图形学的一个作业--直线裁剪,需要vc再搭配openGL使用,使用方法:输入直线两端点坐标即可,记得输入是X1回车Y1回车X2回车Y2!-This is a computer graphics operations -- cutting straight, vc longer need to use openGL mix, use : Admission at both ends of linear coordinates can be, remember import X1 X2 r
yichuan11
- 利用遗传算法求使 达到最大值时的x1和x2的值-using genetic algorithms to achieve the maximum value for the x1 and x2 value
CRC_asm
- 计算校验码,格式为:G(X)=X8+X2+X+1,陪集码为FFH,-calculated checksum code format : G (X) = X 1 X8 X2, coset code of FFH,
zlf1581
- 解线性方程组多元一次 水平有限,DOS界面。其中,输出方程组的未知数用x1,x2,x3...表示,可以解出多元一次方程。-solving linear equations yuan a limited, and DOS interface. Within this total, output equations with the unknown x1, x2, x3 ... that the United States can come up with multiple linear equ
Genetic_algorithm01
- 遗传算法源程序,求解一个简单优化问题f(x)=x1^2+x2^2,-5<=x1<=5,-5<=x2<=5-genetic algorithm source files, for a simple optimization problem f (x) = x ^ 2 x ^ 2, -5
20055153566625
- 水平有限,DOS界面。 其中,输出方程组的未知数用x1,x2,x3...表示, 可以解出多元一次方程。 -limited, and DOS interface. Within this total, output equations with the unknown x1, x2, x3 ... that the United States can come up with multiple linear equation.
kthline
- 有向直线K中值问题 给定一条有向直线L以及L 上的n+1 个点x0<x1<x2<… <xn。有向直线L 上的每个点xi都有一个权 w(xi) 每条有向边 (xi,xi-1),也都有一个非负边长d(xi,xi-1)。有向直线L 上的每个点xi 可以看作客户,其服务需求量为w(xi) 。每条边(xi,xi-1) 的边长 , d(xi,xi-1) 可以看作运输费用。如果在点xi 处未设置服务机构,则将点xi 处的服务需求沿有向边转移到点xj处服务机构需付出的服务转移费用
closed_point
- 在一维空间上,有N个点,使用递归算法求解两个点x1和x2,使得这两个点靠得最近。-in one-dimensional space, a point N, the use of recursive algorithm for two points x1 and x2, This makes two points on a recently.
crc2345
- crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送
testshape
- 3. 设计一个接口Shape,接口中包含方法:Draw和Resize。定义一些具体类,如:Point、Line、Circle、Rectangle等,每个类都实现接口Shape。Draw方法绘制图形,Resize方法改变图形大小。用Java实现这些接口和类,并用测试类测试它们。 注意:不需要真正绘制图形,如Line的Draw方法只需输出下面文本即可: “直线的起点是(x1,y1,),终点是(x2,y2)”-3. A Shape interface design, interfaces includ
jiefc
- 解线性方程组(多元一次) 水平有限,DOS界面。 其中,输出方程组的未知数用x1,x2,x3...表示, 可以解出多元一次方程。 -solution of linear equations (multiple times) is limited, and DOS interface. Within this total, output equations with the unknown x1, x2, x3 ... that the United States can come
GeneticAlgorithm
- 计算函数f(x1,x2)=100*(x1^2-x2)+(1-x1)^2 的全局最大值