-
用bresenham算法及中点算法画线
通过程序来表明bresenham算法画直线及中点画线法的原理。绘制网格,网格的交点为一个像素点,绘制bresenham算法画直线及中点画线法的像素点位置,在对应的像素点出打点。并且对对话框中输入的起点终点坐标判断是否在给定的范围内。
- 2023-03-19 03:05:04下载
- 积分:1
-
这是计算机算法基础中的动态规划的方法的一个例子,多段图是一个很经典的问题!这里的程序用于求解最小成本路径,用类似的思想可以解决最优分配方案的问题!...
这是计算机算法基础中的动态规划的方法的一个例子,多段图是一个很经典的问题!这里的程序用于求解最小成本路径,用类似的思想可以解决最优分配方案的问题!-This is a computer algorithm based on the dynamic programming methods of an example, many of the map is a classic question! Here the procedures for calculating the minimum cost path, with similar ideas can solve the optimal distribution program!
- 2022-02-24 11:33:06下载
- 积分:1
-
根据菲涅耳衍射原理编写的光学衍射模拟程序
根据菲涅耳衍射原理编写的光学衍射模拟程序-under the Fresnel diffraction theory prepared by the optical diffraction simulation program
- 2022-02-09 23:19:43下载
- 积分:1
-
流体计算中压力与速度耦合求解的算法。
是目前比较常用的方法之一。...
流体计算中压力与速度耦合求解的算法。
是目前比较常用的方法之一。-Calculation of fluid pressure and velocity coupling solution algorithms. Is more commonly used methods.
- 2022-06-21 10:58:57下载
- 积分:1
-
通用GPU计算已经成为越来越受欢迎,因为GPU的多…
通用GPU计算越来越受欢迎了,原因在于GPU具有多个并行计算单元,这是在GPU上进行通用计算的CPP代码-General GPU computing has become increasingly popular because GPU with multiple parallel computing units, which are common in GPU computing on the CPP code
- 2023-03-15 04:30:04下载
- 积分:1
-
本程序用来实现具体的fft运算,程序参考数字信号处理c语言描述这本书
这个程序利用旋转因子可以先算下来的特征,可以在大量数据处理时节省时间
本程序用来实现具体的fft运算,程序参考数字信号处理c语言描述这本书
这个程序利用旋转因子可以先算下来的特征,可以在大量数据处理时节省时间
-This procedure used to realize specific fft computing, digital signal processing procedures reference c language to describe this book, this process can make use of rotating factor算下来features, can handle large amounts of data to save time when
- 2022-04-16 16:01:04下载
- 积分:1
-
实对称 三对角阵的全部特征值及相应的特征向量的计算
实对称 三对角阵的全部特征值及相应的特征向量的计算-Symmetric diagonal matrix of all eigenvalues and eigenvectors corresponding calculation
- 2023-08-28 17:55:03下载
- 积分:1
-
C# TSP问题以及VRP问题
7、满足随机数大于交叉概率的进行交叉,双交叉点交叉法(已实现)8、初始种群中染色体用Floyd方法或扫描法(未实现,想等到收敛性有一定程度的保证后再采用扫描法)9、两点之间的距离是坐标间的直线距离,之后可以用直接输入的距离10、迭代次数不是很稳定,有时候会陷入死循环,停止调试,重新调试即可11、每点击一次重新运行,程序便从头计算一次,目前我自己遇到的最好结果是3辆车、20个点的情况下总路程105.4,最好染色体适应度0.09+12、约束条件是:车辆数量、载重量和里程数。超出载重量或里程数则换车,超出车已有车辆数量就惩罚。13、建立了解决VRP问题的类,需要时派生出不同的参数适应不同问题
- 2022-01-29 04:41:29下载
- 积分:1
-
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩...
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了 一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的, 问海滩上原来最少有多少个桃子?- On the interest question procedure original code beach has pile
of peaches, five monkeys divide. The first monkey divides into this
pile of peach proof five, many, this monkey has thrown into many in
the sea, took away. The second monkey the peach which is left over
equally divides into five, also many, it similarly has thrown into
many in the sea, took away, third, fourth, the fifth monkey all is
does this, asked how many peaches on the beach most is originally
unusual?
- 2022-10-26 14:25:03下载
- 积分:1
-
Numerical experiments dichotomy of personal computers Number experimental report...
数值分析实验二分法的个人编写的实验报告号电脑促进吸收大跨度-Numerical experiments dichotomy of personal computers Number experimental report prepared for absorption of large-span
- 2022-02-27 04:27:40下载
- 积分:1