-
二叉树子系统
资源描述这是一个关于数据结构的基础算法,二叉树的子系统,有利于我们学习数据结构,相对于初学者而言,这是一个不错的选择,这样我们就可以快速的了解一些算法的思想
- 2022-05-26 20:34:33下载
- 积分:1
-
2维数组 截断 追加 测试
应用背景
二维数组的截断和追加并不像TStringList那么简单。在研究二维数组的截断和追加时,写了本例子来研究。提供给有相同问题的后来人参考,代码有点青涩,毕竟是研究算法的的demo,不喜勿喷!
关键技术
二维数组的截断和追加是一个抽象的概念,本demo把它实例化,可以给爱偷懒的程序学习者参考,不足之处欢迎拍砖。{删除动态数组指定元素的过程: 参数 arr 是数组名, 参数 Index 是要删除的索引}
procedure TForm1.DeleteArrItem(Index:Integer);
var
j:integer;
begin
if Length(MyProArr)>1 then
begin
for j := Index to Length(MyProArr)-2 do begin
MyProArr[j,0]:=MyProArr[j+1,0];
MyProArr[j,1]:=MyProArr[j+1,1];
end;
setlength(MyProArr,Length(MyProArr)-1,2);
end else
begin
setlength(MyProArr,0,2);
end;
- 2022-11-15 14:10:02下载
- 积分:1
-
一些 SPOJ 的解决方案
此文件包含一些像生活,nextpalindrome,primegenerator,测试,用 c + + 编程语言编码的 transformtheexpression spoj 问题的解决办法
- 2022-04-18 10:41:23下载
- 积分:1
-
用matlab程序实现粒子群算法
该程序是基于matlab平台的粒子群算法的实现程序,用来实现粒子群算法,程序简单易理解,对学习该方面知识的学者提供一定的帮助。
- 2022-03-21 20:42:33下载
- 积分:1
-
只用几行代码就可以, 算出800位的圆周率, 很是神奇
只用几行代码就可以, 算出800位的圆周率, 很是神奇-only a few lines of code can calculate the circumference 800 rate is very magical
- 2023-04-12 04:10:03下载
- 积分:1
-
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功...
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功-powerful calculator, using fake C language syntax expression and expression is the inverse Poland expression, I support 20 species of Operational functions, procedures have been tested successfully
- 2023-07-20 20:55:04下载
- 积分:1
-
数值分析里的龙贝格算法
数值分析里的龙贝格算法-numerical analysis of the algorithm Romberg
- 2022-01-24 09:27:47下载
- 积分:1
-
CSA - carry select Adder (16 bit by verilog)
这是verilog提供的16位CSA
- 2023-07-21 18:30:03下载
- 积分:1
-
kalman_filter
自适应的kalman滤波程序,通过灵活的调用,实现kalman的自适应滤波。-kalman_filter
- 2022-08-16 22:04:05下载
- 积分:1
-
A program to demonstrate the optimization process of ant colony optimization for...
A program to demonstrate the optimization process of ant colony optimization for the traveling saleman problem (TSP). The cities are shown as red circles, the pheromone on the connections between them (fully connected graph) by gray lines. The darker the grey, the more pheromone is currently on the edge. During the optimization, the currently best found tour is drawn in red. To run the optimization, first create a random TSP, then create an ant colony, and finally run the optimization.
- 2022-02-19 22:51:42下载
- 积分:1