-
有脑子的贪吃蛇
一个贪吃蛇AI的js实现,基本思想:先模拟一条蛇使用去吃食,若吃到食物后(广度优先寻最短路径)蛇处于安全状态,则让真蛇去吃;若不安全,则跟着蛇尾走(广度优先寻最长路径),没走一步都需进行一次上述判断。注:只要能找到蛇头到蛇尾的路径,则蛇安全。
上述算法仍可能导致蛇进入死循环,则没有安全路径可以吃到食物,该情况发生在大部分食物已经吃完的时候,目前没找到解决办法,若有兴趣或有更好的解法,欢迎联系。
- 2022-06-01 02:44:57下载
- 积分:1
-
代码是用matlab写的,主要用于求解线性规划问题
该代码是在matlab编写的,主要用于求解线性规划问题-The code is written in matlab, mainly for solving linear programming problems
- 2022-10-13 10:40:03下载
- 积分:1
-
用几种规则控制倒立摆的模糊运动的程序
用几种规则控制倒立摆的模糊运动的程序-Several rules of fuzzy control of inverted pendulum movement procedures
- 2023-07-07 14:10:03下载
- 积分: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
-
C++编写的快速离散余弦变换
快速DCT(离散余弦变换) 也许对图像处理有用。
- 2022-03-31 18:56:19下载
- 积分:1
-
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序...
文件1.txt,2.txt,3.txt和5.txt为用Fortran编写的有限元程序 4.txt为用c++编写的钢筋混凝土异形柱的全过程非线性分析源程序-document 1.txt, 2.txt, 3.txt and 5.txt Fortran prepared for the use of the finite element program 4.txt to use C++ to prepare the R.C.special-the whole process of nonlinear analysis source
- 2022-08-18 18:12:35下载
- 积分:1
-
用调用函数法实现bp网络,已载入训练和测试样本供大家分享和学习,有较理想的差准率和查全率。...
用调用函数法实现bp网络,已载入训练和测试样本供大家分享和学习,有较理想的差准率和查全率。-Call function method used to achieve bp network, has been printed in the training and test samples for all to share and learn from, there are better rates and quasi-differential recall.
- 2023-02-21 12:20:03下载
- 积分:1
-
运筹学很有用的程序,线性规划课本里的习题答案,求解线性规划问题...
运筹学很有用的程序,线性规划课本里的习题答案,求解线性规划问题-Useful operational research procedures, linear programming exercises in the textbook answer for solving linear programming problems
- 2023-07-12 17:00:03下载
- 积分:1
-
人工智能作业,专家系统实现的水果分类小专家系统。
人工智能作业,专家系统实现的水果分类小专家系统。-Artificial intelligence operation, expert system classification of fruit a small expert system.
- 2022-07-23 17:29:10下载
- 积分:1
-
全自动3D扫描仪软件
资源描述全自动3D扫描仪软件,直接可以用的,基于Matlab和OpenCV,美国的布朗大学研究成果
- 2022-05-23 05:54:05下载
- 积分:1