-
最近点对问题MFC界面版
经典算法问题————最近点对问题
采用MFC界面,操作简单易懂。可供大家参考学习。
算法执行效率高。方便的界面操作供大家好理解算法的精髓。
- 2022-02-01 09:56:42下载
- 积分:1
-
关于非线性方程和非线性方程组的根的数值算法和程序!
关于非线性方程和非线性方程组的根的数值算法和程序!-On the nonlinear equations and nonlinear equations of the numerical algorithm of the root and procedures!
- 2022-03-29 10:29:54下载
- 积分:1
-
整数类型超过 128 个字符
用C语言写的一个将大于128的整型数转换为Unicode的字符型字符, ascii基本表最大描述字符只有127大于127的字符为ascii扩展表, 正常转换时为不可见字符, 这个算法能够实现不可见字符的转换.
- 2023-01-05 05:25:03下载
- 积分:1
-
该程序在TC环境下运行。
按键1
该程序在TC环境下运行。
按键1-6可以画6中常用的不同极坐标曲线。
按按键 q 退出。
你可以添加你想知道或者尝试任何你想象的曲线。-The program runs under the environment in the TC. 1-6 keys can be painted in 6 different commonly used polar curves. Q according to exit button. You can add or you want to know any of you try to imagine the curves.
- 2022-03-17 06:02:24下载
- 积分:1
-
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束...
素数环: 把从1到10这10个数摆成一个环,要求相邻的两个数的和是一个素数。 〖问题分析〗 这是一道回溯的题目。从1开始,每个空位有9种可能,每种可能加入约束条件即可
1.与前面所有的数不重复
2.与前一个数和为素数(最后一个和第一个也要满足)。 〖算法流程〗 1、数据初始化; 2、递归填数: 判断第J种可能是否合法; A、如果合法:填数;判断是否到达目标(10个已填完): 是,打印结果;不是,递归填下一个; B、如果不合法:选择下一种可能;-Prime Central: 1-10 from 10 the number of put this into a ring, asked the two adjacent numbers and is a prime number. 〗 〖Analysis is a retrospective this topic. From 1 year, 9 out of every space possible, each may be bound by the conditions of accession to 1. And in front of all the number of non-repetition, 2. With a few and for a prime number (the last and the first to meet). 1〗 〖algorithm processes the data to initialize 2, fill in the number of recursion: first to determine the legality of J possible A, if the legitimate: the number of Reclamation to determine whether the target (10 have been completed): Yes, print the results of not, fill in the next recursive B, if not legitimate: a possible alternative
- 2022-03-13 12:39:07下载
- 积分:1
-
使用遗传算法的函数优化问题
这是简单的遗传算法代码,求解函数优化问题。这里是函数的遗传算法每一步。
使用了选择,交叉,突变,roullette 轮选择,一点交叉,位翻转突变。
- 2022-02-28 09:14:52下载
- 积分:1
-
光线跟踪GPU实现
首先确定眼睛的位置和视线方向。然后确定从眼睛出发通过每个象素中心的光线方程。通过该光线求光线与场景中物体的最近交点。 若有交点,首先产生阴影测试光线,它是连接交点与光源的光线,然后计算该交点与光源间是否有阻挡物,如果没有则计算该点的Phong模型分量,若有阻挡物则不计算。若交点处的场景为反射表面,则产生反射光线,将此光线继续与场景求交。若交点处的场景具有透明性,则产生透射光线,将此光线继续与场景求交。 若无交点,则返回默认值。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-25 23:53:04下载
- 积分:1
-
GA-BP算法--MATLAB
遗传算法应用于神经网络的一个方面是用来优化人工神经网络(ANN)的结构,另一个方面是用GA学习ANN的权重,也就是用遗传算法取代一些传统的学习算法。GA-BP算法就是在BP算法之前,先用GA在随机点集中遗传出优化初值,以此作为BP算法的初始权值,再由BP算法进行训练,这就是GA-BP算法的原理。本例中包括,(1)用遗传算法学习神经网络的权值,(2)GA-BP算法,以及(3)单纯的BP算法。程序能够运行出来,比较完美,可用于硕士、博士学习的资料,也可作为项目研究的参考资料。总之比较实用。
- 2022-01-26 01:51:27下载
- 积分:1
-
介绍一个最短路径的算法编程!
介绍一个最短路径的算法编程!-introduced a shortest path algorithm programming!
- 2023-01-28 09:40:03下载
- 积分:1
-
numerical integration : Key words : numerical integration approximate interpolat...
数值积分:关键词:数值积分 近似 插值求积 梯形 辛普生 复化 逐次分半 龙贝格-numerical integration : Key words : numerical integration approximate interpolation Quadrature trapezoidal Simpson Health Minute of successive half Romberg
- 2022-03-25 08:35:29下载
- 积分:1