-
独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下: 111 111 111 111111111 1111...
独立钻石棋问题描述: 有一棋盘, 上有44个钻石棋子,有一位置空缺, 棋盘初始状态如下: 111 111 111 111111111 111101111 111111111 111 111 111 其中,0表示没有放置棋子, 1表示放置。 规定走法如下: a. 任一棋子可越过一相邻棋子(紧相邻)跳到一空缺位置, 并吃掉越过的棋子(从棋盘移处) 如, 走一步后棋盘状态: 111 111 111 111111111 111110011 111111111 111 111 111 b. 最后只留下一个棋子在棋盘上, 并且位置在正中央。 要求: 用程序得出正确走法。 输入: 无 输出: 每一步移动后的棋盘状态, 格式如上。-independent diamond chess Problem description : a chessboard, there are 44 pieces of diamonds, a position vacant chessboard initial state as follows : 111111111 111101111 111111111 which, 0 no place pawn, a place said. Provisions in law are as follows : a. as a pawn to be crossed an adjacent piece (bear adjacent) jumped to a vacant position, and eaten across the pawn (shift from the chessboard) If, after the chessboard go one step further state : 111111111 111111111 111110011 111111111 111111111 b. leaving only a game son on the chessboard, and in the middle position. Requirements : getting the correct procedures in law. Input : None output : e
- 2023-01-15 08:55:03下载
- 积分:1
-
matlab实现此过程的最速下降算法。
这个Matlab程序实现最速下降算法。最速下降法是一种最基本的算法,它在最优化方法中占有重要地位.最速下降法的优点是工作量小,存储变量较少,初始点要求不高;缺点是收敛慢,最速下降法适用于寻优过程的前期迭代或作为间插步骤,当接近极值点时,宜选用别种收敛快的算法.
-Matlab implementation of this procedure steepest descent algorithm.
- 2023-06-12 22:50:03下载
- 积分:1
-
不使用递归的快速排序法
不使用递归的快速排序法-Quick sort without using recursive
- 2023-01-30 18:50:04下载
- 积分: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.
- 2023-05-16 22:45:03下载
- 积分:1
-
高斯主元消去法
guass主元消去方法-guass main element elimination method
- 2022-06-18 23:56:17下载
- 积分:1
-
ARTMAP的MATLAB工具箱
ARTMAP的MATLAB工具箱-ARTMAP MATLAB Toolbox
- 2022-08-17 06:50:39下载
- 积分:1
-
用最小二乘法解决实际问题,如曲线拟合,插值分析,
用最小二乘法解决实际问题,如曲线拟合,插值分析,-Least square method in solving practical problems, such as curve fitting, interpolation analysis
- 2022-09-15 01:35:04下载
- 积分:1
-
基于51的32*64点阵屏频谱程序
资源描述51单片机驱动32*64点阵屏进行频谱显示,利用FFT算法进行数据处理,里面有硬件原理图以及整个的程序。
- 2022-03-25 03:03:06下载
- 积分:1
-
斯密斯预估器
1、CserialPort实现了简单而强大的多线程串口编程工具,CserialPort类是在Remon Spekreijse设计的CSerialPort类基础上设计的,并增加了对二进制数据传输和块读写方式的支持和其他功能函数;2、实现了Smith预估器与PID控制的结合;
- 2023-01-05 17:00:10下载
- 积分:1
-
算法、 初始化和非负矩阵分解的收敛性
它是知名好初始化可以改善的速度和准确性的解决方案
许多非负矩阵分解 (NMF) 算法 [56]。许多 NMF 算法很敏感
在 W 或 H 或两者的初始化。这是尤其如此的算法
包括这两个新的 ALS 算法,我们目前的交替最小二乘法 (ALS) 类型 [55]
纸。我们比较六个初始化程序 (两个标准和四新) 的结果对我们 ALS
算法。最后,我们讨论选择适当收敛准则的实际问题。
- 2022-03-05 15:58:22下载
- 积分:1