-
Delaunay 剖分源代码
根据用户输入的二维点(x,y)进行Delaunay三角剖分,主要采用的是种子生长算法来剖分平面的,是计算机图形学当中主要的曲面造型的剖分算法实现。
- 2022-03-20 09:16:12下载
- 积分:1
-
k-means 遗传算法
K-means遗传算法是硬聚类算法,是典型的基于原型的目标函数聚类方法的代表,它是数据点到原型的某种距离作为优化的目标函数,利用函数求极值的方法得到迭代运算的调整规则。本程序是K-means遗传算法的VC++实现,DOS界面输出。
- 2022-07-12 12:29:41下载
- 积分:1
-
跑马灯程序(按下按键修改跑灯方式)
应用背景学习51单片机必敲程序,对熟悉IO操作有帮助。关键技术同过定时器延时,或者是延时函数实现IO的高低电平输出。
- 2023-06-01 01:10:03下载
- 积分:1
-
这是一个用满二叉树解决皇后问题的算法。
这是一个用满二叉树解决皇后问题的算法。-This is a binary tree used for the Queen"s solution algorithm.
- 2022-09-28 23:50:03下载
- 积分:1
-
单源最短路径求解
单源最短路径求解-single source shortest path Solution
- 2022-05-22 20:18:43下载
- 积分:1
-
介绍了GS算法的核心内容,为想学习GS算法的人士提供很好的参考...
介绍了GS算法的核心内容,为想学习GS算法的人士提供很好的参考-Introduction of the GS algorithm is the core content for the GS algorithm to learn to provide good reference
- 2022-03-12 07:10:41下载
- 积分:1
-
Xs128单片机飞思卡尔程序
应用背景此算法是飞思卡尔比赛的电磁车的路径判断算法,和128单片机初始化的方式,配置很全,注释也很详细,很方便刚入手参加飞思卡尔 电磁车组的童鞋们,很值得一看。关键技术飞思卡尔算法,AD值的配置等相关算法
- 2022-03-03 17:25:41下载
- 积分:1
-
- 2022-04-26 09:25:16下载
- 积分: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
-
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是...
正整数x 的约数是能整除x 的正整数。正整数x 的约数个数记为div(x)。例如,1,2,5,10 都是正整数10 的约数,且div(10)=4。设a 和b 是2 个正整数,a≤b,找出a 和b之间约数个数最多的数x。
对于给定的2 个正整数a≤b,编程计算a 和b 之间约数个数最多的数。
数据输入
输入数据由文件名为input.txt的文本文件提供。文件的第1 行有2 个正整数a和b。
结果输出
程序运行结束时,若找到的a 和b 之间约数个数最多的数是x,将div(x)输出到文件output.txt中。
输入文件示例 输出文件示例
input.txt output.txt
1 36 9
-Positive integer x can be about a few of the positive integer x divisible. Positive integer x the approximate number recorded as the number of div (x). For example, 1,2,5,10 are about 10 positive integer number, and div (10) = 4. Set a and b are two positive integers, a ≤ b, to find a and b between about a few number of the largest number of x. For a given two positive integers a ≤ b, Programming calculated a and b between about a few number of the largest number. Data entry input data from the document text file named input.txt provide. File line 1 has two positive integers a and b. The results run the end of the output, if found between a and b of about a few number o
- 2023-04-13 05:20:03下载
- 积分:1