-
哲学家就餐问题算法实现
哲学家就餐问题算法实现-Algorithm dining philosophers problem
- 2022-02-27 08:28:25下载
- 积分:1
-
回溯法解N后的C++源码(Visual Stdio2010环境测试通过)
#include #include #include #include using namespace std;class Queen{ friend int nQueen(int);private: bool Place(int k); void Backtrack(int t); void Output(); int n,//皇后个数 *x;//当前解 long sum;//当前已找到的可行性方案数};bool Queen::Place(int k){ for (int j=1;jn) { sum++; Output(); } else { for (int i=1;i
- 2022-02-06 19:11:54下载
- 积分:1
-
GPS导航定位
在用户GPS接收机附近设置一个已知精度坐标的差分基准站,基准站的接收机连续接收GPS导航信号,将测得的位置或距离数据与已知的位置!距
离数据进行比较,确定误差,得出准确改正值,然后将这些改正数据通过数据链发播给覆盖区域内的用户,用以改正用户的定位结果。编程得到定位结果
- 2023-07-09 11:05:04下载
- 积分:1
-
这里面有很多有用的东东,不过很容易看懂的。
这里面有很多有用的东东,不过很容易看懂的。-There were many useful Eastern, but the very easy to read and understand.
- 2023-06-28 08:05:03下载
- 积分:1
-
//=== === === === === ==== === === === === === === =// letter Description// func...
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------ 拟合多项式的阶数(已知条件)
// double *b--- 拟合曲线的系数,排列顺序为由高阶到低阶(已知条件)
// double *x--- 结点x轴数据(已知条件)
// double *y--- 结点y轴数据(已知条件)
// double *Yg-- 结点估计值,个数为m(过程变量)
// int m------ 结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = a0 + a1x +a2x2
-//=== === === === === ==== === === === === === === =// letter Description// function name : Correlation// Function functions : Calculation least squares polynomial fitting of the correlation coefficient// Use : int M------ polynomial fitting stage (known condition)//* b--- double fitting song The coefficient, Higher-order the order on grounds of low order (known condition)//* double-node x x axis data (known to be pieces)// double* y--- node y-axis data (known condition)//* double FSL-- Nodes estimates, Number m (process variables)// int m------ node number (known condition)// Note : polynomial order of a maximum of 10. polynomials in the
- 2022-04-29 13:08:12下载
- 积分:1
-
我自己写的一个三次样条插值算法,自已感觉很严密,请大家指正。...
我自己写的一个三次样条插值算法,自已感觉很严密,请大家指正。-I wrote it myself a cubic spline interpolation algorithm, self-feelings are very close, please correct me.
- 2022-06-18 06:00:33下载
- 积分:1
-
约瑟夫猴子游戏
约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的顺序是:5,4,6,2,3,1。
- 2022-07-09 10:25:35下载
- 积分:1
-
遗传算法:PID参数整定
遗传算法入门实例之一:用在PID参数整定上(转自阿莫论坛)
- 2023-06-13 19:35:55下载
- 积分:1
-
win32编写数字图像处理(vs2013)
资源描述了解数字图像处理的基本算法,如平移、旋转、平滑、锐化、灰度图的转化、对比度扩展,腐蚀、膨胀...
- 2022-07-16 21:24:41下载
- 积分:1
-
2812 PMSM
利用2812来进行电机控制的主程序代码,其中包括各种控制方式,来自于TI官网的例程,未改动,便于后面的学习
- 2022-04-25 07:36:55下载
- 积分:1