-
用基本蚁群算法求解0
采用了基本的蚁群算法来求解0-1背包问题,该算法不仅可以对0-1背包问题进行求解,还可以对多维背包问题进行求解。-Using the basic ant colony algorithm to solve the 0-1 knapsack problem, the algorithm not only for the 0-1 knapsack problem can be solved, but also multi-dimensional knapsack problem can be solved.
- 2022-06-22 03:24:58下载
- 积分:1
-
1, one dollar three regression equations CubicMultinomialRegress.cs equation mod...
一、 一元三次回归方程 CubicMultinomialRegress.cs
方程模型为Y=a*X(3)+b*X(2)+c*X(1)+d
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是d,c,b,a。
以后所述所有模型的系数存放均与此相同(多元线性回归方程除外)。
public override double forecast(double x)
预测函数,根据模型得到预测结果
public override double computeR2()
计算相关系数(决定系数),系数越接近1,数据越满足该模型。
-1, one dollar three regression equations CubicMultinomialRegress.cs equation model for Y = a* X (3)+ B* X (2)+ C* X (1)+ Dpublic override double [] buildFormula () get coefficient array, store order and model coefficients contrary, that is, the array is followed by the value of coefficient d, c, b, a. After all the model described in the coefficient of storage are the same (except for multiple linear regression equation). public override double forecast (double x) prediction function, according to the results of model prediction public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the dat
- 2022-01-26 07:28:21下载
- 积分:1
-
refprop调用
简单的refprop代码,仅仅只是针对不懂同学,当然还有获取更多资源
- 2023-07-13 16:35:04下载
- 积分:1
-
operating system simulation process scheduling procedures to achieve vc
操作系统进程调度模拟程序vc实现-operating system simulation process scheduling procedures to achieve vc
- 2022-01-26 07:34:38下载
- 积分:1
-
多项式的加减运算特别实现(c实现)
多项式的加减运算特别实现(c实现)-polynomials Modified Operational special achievement (c realization)
- 2022-08-26 13:41:18下载
- 积分:1
-
杜利特分解中选定的主要元素的数值分析…
数值分析中的Doolittle选主元素分解法解方程组。-Numerical analysis of selected major elements in the Doolittle decomposition method solution of equations.
- 2022-03-16 16:44:30下载
- 积分:1
-
Verilog课程设计_洗衣机设计电路
应用背景
这是初次学习verilog的课程设计,设计过程中用三个表示状态的寄存器zz(正转)、fz(反转)、pause(暂停),以及三个寄存器表示LED灯,LED1表示zz;LED2表示fz;LED3表示pause。用data_out1,data_out2显示预置时间。Beep为音响信号。
关键技术设计一个电子定时器,控制洗衣机作如下运转:定时启动--->正转20秒-->暂停10秒-->反转20秒-->暂停10秒-->定时未到,回到“正转20秒-->暂停10秒-->反转20秒-->暂停10秒”;若定时到,则停机发出音响信号。用两个数码管显示洗涤的预置时间(分钟数),按倒计时的方式计时,直到时间到停机;洗涤过程由“开始”信号开始。三只LED灯表示“正转”、“反转”、“暂停”三个状态
- 2022-03-16 21:43:00下载
- 积分:1
-
PSO算法的MATALAB实现
运用粒子群算法,实现交流斩波器的特定谐波消去。根据交流斩波器的输出电压方程,建立其数学模型,运用粒子群算法计算相应的开关角,控制开关在相应的角度开通,即可在交流调压的同时实现特定消谐。
- 2022-05-25 12:58:02下载
- 积分:1
-
数值计算方法C语言程序,经测试均可用!!大家快快下载吧
数值计算方法C语言程序,经测试均可用!!大家快快下载吧-Numerical Method C language program, have been tested are available! ! We quickly download the bar
- 2022-08-13 07:01:16下载
- 积分:1
-
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与
常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
- 2022-10-31 12:55:03下载
- 积分:1