-
大数运算库
大数运算库-Treasury operations of large numbers
- 2022-02-12 09:54:57下载
- 积分:1
-
Tic tac toe算法
kelebihan, namun manusia tetap memiliki berbagai kelemahan seperti mudah lelah, mudah lupa,
dipengaruhi emosi, subjektif, kurang teliti, malas, dan sebagainya. Kemudian muncul ide untuk
menciptakan komputer sebagai alat bantu kerja agar lebih cepat, dan lebih akurat. Namun saat ini
komputer tidak hanya mampu bertindak tetapi juga mampu berfikir sehingga muncul istilah Artificial
Intellegence (AI) atau Kecerdasan Buatan.
Minimax merupakan salah satu contoh dari Kecerdasan Buatan, minimax adalah suatu algoritma
yang menggunakan teknik pencarian Depth-First Search dengan kedalaman terbatas. Adapun media yang
cocok untuk penerapan algoritma minimax adalah permainan Tic-Tac-Toe, beberapa alasan mengapa Tic-
Tac-Toe
- 2022-07-03 14:15:32下载
- 积分:1
-
粒子群优化算法 PSO
通过启发式搜索方法,如遗传算法(Genetic Algorithm, GA)、模拟退火法(Simulated Annealing, SA)、禁忌搜索法(Tabu Search, TS)、蚁群优化算法(Ant Colony Optimization, ACO)、大爆炸算法(Big Bang-Big Crunch, BB-BC)以及粒子群优化算法(Particle swarm optimization, PSO)等,能够快速有效求解最优化问题。与其他优化算法相比,PSO因具有参数少、收敛速度快、简单易实现等突出优点而被广泛应用于多个领域,如逆合成孔径雷达(Inverse Synthetic Aperture Radar, ISAR)中机动目标参数补偿,非线性方程组多值求解等。本程序为个人原创,需要根据实际需要添加目标函数。
- 2022-11-11 23:35:04下载
- 积分:1
-
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合...
//=== === === === === === =====
//函数说明
//函数名称:Correlation
//函数功能:计算最小二乘法拟合的多项式的相关系数
//使用方法:int M------拟合多项式的项数(已知条件)
// double *b---拟合曲线的系数,按升次排列(已知条件)
// double *x---结点x轴数据(已知条件)
// double *y---结点y轴数据(已知条件)
// double *Yg--结点估计值,与*y相对应,个数为m(过程变量)
// int m------结点个数(已知条件)
//注意事项:多项式阶数最高为10,多项式的形式为 y = b0 + b1*(x-Xavr)...
-//=== === === === === === === === === === === =====// Function that// function name: Correlation// Function: Calculation of the polynomial least squares fitting correlation coefficient// Usage: int M------ polynomial fitting the number of (known conditions)// double* b-- Fitting curve coefficient, or times by arrangement (known conditions)// double* x--- node x-axis data (known conditions)// double* y--- node y-axis data (already known conditions)// double* Yg- the estimated value of node, and* y correspond to the number for m (process variables)// int m------ node number (known conditions)// Note: polynomial order up to 10, the polynomial
- 2023-05-06 14:40:03下载
- 积分:1
-
简单的五子棋
很简单的五子棋。一个小小的匈牙利语,但不 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-24 09:41:09下载
- 积分:1
-
不能移动的石子合并
资源描述做如下两个模型的石子合并,如下模型石子都不能移动出列,且合并都仅发生在相邻两堆石子中:
(1)第一个模型:一行排列且相邻合并
有n堆石子A1,A2,...,An形成一行,每堆石头个数记为ai(1
- 2022-03-06 16:38:01下载
- 积分:1
-
php代码用于初学者学习
编写程序,在菜单列表框中选择多本图书,单击’提交’按钮,输出用户的选择值。初学者可以看下
- 2023-08-06 22:45:03下载
- 积分:1
-
寻找最短路问题
一款用C语言写的A*最短路径寻找代码。有曼哈顿算法、欧几里得算法、切比雪夫算法和加权曼哈顿算法四个计算最短路径的算法。可以选择使用的算法来进行最短路径的计算。
- 2023-01-21 14:50:03下载
- 积分:1
-
Shortest Path
资源描述Write a program to find the weighted shortest distances from any vertex to a given source vertex in a digraph. If there is more than one minimum path from v to w, a path with the fewest number of edges is chosen. It is guaranteed that all the weights are positive and such a path is unique for any vertex.
- 2022-08-26 06:49:00下载
- 积分:1
-
一个随机数发生器的代码,C++实现
一个随机数发生器的代码,C++实现-a random number generator code, C++
- 2022-03-14 13:35:31下载
- 积分:1