-
鼹鼠闯迷宫
资源描述void creatWay(int (*mg)[N],int x, int y)//在迷宫中产生一条路,使用图的深度遍历思想来实现,
{
static int dir[4][2] = {0, 1, 1, 0, 0, -1, -1, 0};////将要走的4个方向保存在二维数组中
int zx = x*2;
int zy = y*2;
int next, turn, i;
mg[zx][zy] = 0;
if(rand()%2)
turn = 1;
else
turn = 3;
for(i=0,next=rand()%4;i
- 2022-01-26 05:46:58下载
- 积分:1
-
c源码,数学函数库,包含了大部分数学公式,矩阵运算等
c源码,数学函数库,包含了大部分数学公式,矩阵运算等-c source code, the mathematical function storehouse, has
contained the majority of mathematical formula, the matrix operation
and so on
- 2022-01-30 20:04:32下载
- 积分:1
-
OFELI is an object oriented library of C++ classes for development of finite ele...
OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are : * Various storage schemes of matrices (dense, sparse, skyline). * Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners. * Shape functions of most "popular" finite elements * Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).-OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are :* Various storage schemes of matrices (dense, sparse, skyline).* Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners.* Shape functions of most "popular" finite elements* Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).
- 2022-02-27 06:26:31下载
- 积分:1
-
mathimatics library for pascal, include fft,function interpreter, derivative,sol...
mathimatics library for pascal, include fft,function interpreter, derivative,solve sytem of lineal ecuacion by gauss .. and 2 examples-mathimatics library for pascal, include fft,function interpreter, derivative,solve sytem of lineal ecuacion by gauss .. and 2 examples
- 2022-12-19 16:35:06下载
- 积分:1
-
皇后问题快速算法
皇后问题快速算法-Queens Fast Algorithm
- 2022-03-11 06:57:20下载
- 积分:1
-
8puzzle程序的人工智能
此代码程序解决当然人工智者。用C++编程语言,并采用广度优先搜索方法遍历所有图形,并找到可能的路径此代码。
- 2022-08-06 13:35:31下载
- 积分:1
-
RSA算法
C++ 实现
RSA算法
C++ 实现
RSA算法
C++ 实现
RSA算法
C++ 实现
-achieve RSA algorithm to achieve C
- 2022-05-13 21:24:37下载
- 积分:1
-
sift算法 采用opencv,VC++实现
sift算法 采用opencv,VC++实现 值得借鉴
- 2022-09-08 23:25:07下载
- 积分:1
-
不错的矩阵求逆的小程序
不错的矩阵求逆的小程序-good matrix inversion of small programs
- 2023-03-02 00:10:03下载
- 积分:1
-
指纹识别
指纹识别,图像处理,计算调色板和其前面的东西的总长度,创建一个用于操作的矩形区域类的对象,位图形式显示灰度数据,匹配过程显示
- 2022-03-19 22:09:39下载
- 积分:1