-
Prolog实现8-puzzle
he 8-puzzle will be represented by a 3x3 list of lists positions where the empty box will be represented by the value 9, as shown below: [[9,1,3],[5,2,6],[4,7,8]]
Possibility Solution: Only half of the initial positions of the 8-puzzle are solvable. There is a formula that allows to know from the beginning if you can solve the puzzle.To determine whether an 8-puzzle is solvable, for each square containing a value N is calculated how many numbers less than N there after the current cell. For example, to the initial status
- 2023-07-26 11:40:02下载
- 积分:1
-
3D螺旋上升效果
/****************************************************************************
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- 2022-05-13 07:02:29下载
- 积分:1
-
向量型ILC迭代學習
打破多年來人們一直囿於Arimoto的思路,另闢途徑尋找新的迭代學習控制的研究方法,以期構架迭代學習控制的幾何理論。基於數學的幾何方法,通過對通常算法所構成的向量圖進行分析。獲得了一類快速的迭代學習控制新算法,然後對這種新結構的算法在理論上進行了完整的收斂性分析。這類新算法與目前所有迭代學習控制算法不同,具有非線性
- 2022-03-05 11:34:31下载
- 积分:1
-
非线性方程求解例子
非线性方程求解例子--Examples of Non Linear equation`s solution
- 2023-04-02 18:45:03下载
- 积分:1
-
无线传感器网络分簇路由
基于无线传感器网络分簇路由算法LEACH的一些改进代码,相比LEACH算法而言,新算法在延长网络的生命周期,减少网络节点能耗问题上都有一定的改善,比较适合初学者学习。
- 2022-03-14 15:35:07下载
- 积分:1
-
the 29th World University acm Cup programming contest that the answer c.
第29届acm杯世界大学生编程竞赛答案题c.-the 29th World University acm Cup programming contest that the answer c.
- 2022-03-13 08:41:32下载
- 积分:1
-
彩色图像的人脸检测
face detection in color image
- 2022-07-25 12:51:42下载
- 积分:1
-
C++编程实例
通过C++源代码全面介绍了C++程序设计的方法和技巧。作者首先假定读者并不了解程序设计的所有知识,整个程序开发过程均从原始的概念开始到程序设计的实现,从零开始意味着从最最低级的地方起步,没有任何预备知识。因此无论是对于初学C++的人,还是应用C++的高手都具有较高的实用价值。
C++初学者必看, 快速学会C++的好资料, 我就是从这个里面学会的。 例子才是经典,简单又实用。
- 2022-03-12 08:41:13下载
- 积分:1
-
数据结构艾伦韦斯代码
这些都是那些开始学习数据结构和算法的初学者的示例代码。程序提供一个简单的代码和良好的文档。此包还包含针对一些问题的算法。
- 2022-07-20 16:46:12下载
- 积分:1
-
F2812Q格式代码
空间电压矢量脉宽调制技术(SVPWM)在DSP中的实现步骤:
(1)获得SVPWM的输入信号UALFA,UBETA,Ud,Uq经过IPARK变换得到输入信号UALFA,UBETA;
(2)利用输入信号UALFA,UBETA计算中间变量B0,B1,B2,确定扇区Sector;
(3)利用输入信号UALFA,UBETA计算中间变量X,Y,Z,再根据不同扇区利用中间变量X,Y,Z计算t1,t2;
(4)利用t1,t2根据不同扇区计算Ta,Tb,Tc;
(5)利用Ta,Tb,Tc计算占空比MfuncD1,MfuncD2,MfuncD3,之后再计算全比较器参数赋值CMPR1,CMPR2,CMPR3.
- 2023-07-23 17:45:02下载
- 积分:1