-
c language algorithm. . . . Can be useful for the examination can be used to be
c语言算法 。。。。可以对考试很有用
可以用来被-c language algorithm. . . . Can be useful for the examination can be used to be
- 2022-02-21 13:52:55下载
- 积分:1
-
利用c++编写的矩阵迭代算法,其中包含了雅可比方法和高斯
利用c++编写的矩阵迭代算法,其中包含了雅可比方法和高斯-赛德尔方法-Use c++ Matrix prepared iterative algorithm, which contains the Jacobi method and Gauss- Seidel method
- 2022-02-25 06:43:41下载
- 积分:1
-
FDTD algorithm.
FDTD algorithm.
- 2022-06-13 22:48:24下载
- 积分:1
-
二值图像标记的新算法
资源描述
一种基于二值图像的标记区域的新算法,文档和代码。
函数:BWLabel
功能:实现二值图像的连通区域标记
参数:
pnBW---指向二值图像数据,要求像素值为0、1
pnBWLabel---指向标记后的图像
nImageWidth、nImageHeight---图像高宽
nMode---邻域的连接模式:8为八连通,4为四连通
- 2022-01-26 05:52:04下载
- 积分:1
-
FastMap 算法
这一简单的 FastMap 算法执行。与此代码片段可以绘制结果这样在二维空间中的多维投影。这种算法是真快因为复杂度 o (n)。在许多情况下的应力是平等或比 PCA 和 MDS betther。
- 2022-07-20 05:36:51下载
- 积分:1
-
解迷宫,要求只能左手贴在墙上走
Problem
Edison, a robot, does not have a right hand or eyes. As a brave robot, he always puts his left hand on the wall no matter he walks or turns around. Because he thinks it is too dangerous, Edison does not
- 2022-06-22 01:23:19下载
- 积分:1
-
用C++完成的双链表源代码
用C++完成的双链表源代码-completion of the C-List source code
- 2022-10-05 13:05:02下载
- 积分:1
-
LZW的算法实现
LZW算法的实现
LZW算法 其中 几个对象为 编码流 数据流 以及 编译表
字符即为数值,这里0-255
字符串:几个字符组成的串。这里可以简单用 来描述。其中前缀可以为0。
根:长度为1的字符串。
编码(Code):按照固定的长度从编码流中读取的值,即编译表中映射值。即一个编码对应一个字符串
本程序中将定义编码长度最大为12。最小为8。
本实现中自动根据文件内容生成对应的编译表
一个编码对应一个字符串,
字符串匹配通过hash算法去编译表中查找对应的编码。
hash值 = (前缀的编码+后缀编码)%常数
- 2022-10-19 02:30:04下载
- 积分:1
-
独立钻石棋问题描述: 有一棋盘, 上有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
-
GPU generic terms for the programming language BrookGPU 0.4
用于GPU通用计算的编程语言BrookGPU 0.4-GPU generic terms for the programming language BrookGPU 0.4
- 2022-08-05 09:44:56下载
- 积分:1