-
求解一个最短路径问题程序,可以参考一下求一个Dijkstra优化算法!
谢谢了
目的是求给定两点之间的最短距离
或者改一下我的程序也行...
求解一个最短路径问题程序,可以参考一下求一个Dijkstra优化算法!
谢谢了
目的是求给定两点之间的最短距离
或者改一下我的程序也行
-shortest path to solve a problem of procedure, can seek a reference Dijkstra algorithm optimization! Thank you, the purpose is scheduled for 2:00 to the shortest distance between or change my procedure OK
- 2022-03-01 07:56:19下载
- 积分:1
-
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果...
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
- 2022-04-09 01:41:30下载
- 积分:1
-
C++数据结构(链表)
采有C++模板实现的一个数据结构"链表",可以进行增加,删除,修改等20多个成员函数。
本程序适合初学数据结构的朋友们。
- 2023-05-07 21:30:03下载
- 积分:1
-
OTP的读者
资源描述软阅读或从华邦25qxx .....与diagramme PCB写OTP!!!
- 2022-07-09 18:14:24下载
- 积分:1
-
在班级,年级范围查询成绩,可以增加,删除记录
在班级,年级范围查询成绩,可以增加,删除记录-class, grade scope of inquiry results, can add, delete records
- 2023-05-25 12:05:04下载
- 积分:1
-
我的生活,一个不错的日记本,相信你回喜欢的!
我的生活,一个不错的日记本,相信你回喜欢的!-my life, a good diary of this, I think you like the back!
- 2022-05-29 10:58:26下载
- 积分:1
-
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来...
(1) 用一个4*20的二维数组M,第1行存放按从小到大排序的20个所给出的ai和bi,第2行存放相应的作业序号,第3行存放1或2(1代表是来自ai,2代表是来自bi), 第4行存放0或1(0代表作业序号未进入最优调度方案;1代表作业序号已进入最优调度方案)
(2) 排序完后,按课本所述方法求一种最优调度方案,存放在S中。
-(1) with a 4* 20 two-dimensional array M, the first a line to deposit a small to large order of 20 given by ai and bi, line 2 store operation corresponding serial number, the first three lines deposited one or 2 (a representative from the ai, 2 representatives from the bi), the first four rows stored 0 or 1 (0 for job number to gain access to optimal scheduling programs a job number has been entered on behalf of the optimal scheduling scheme) ( 2) Sort exhausted, according to the methods described in textbooks, seeking the optimal scheduling of a program stored in the S in.
- 2022-05-07 13:53:40下载
- 积分:1
-
汉诺塔演示 文本界面的
汉诺塔演示 文本界面的-HANOR demo version of the interface
- 2022-05-30 17:44:44下载
- 积分:1
-
adorwacce
AdoRWAcce
- 2022-03-07 08:12:15下载
- 积分:1
-
多项式相加 pascal源程序
多项式相加 pascal源程序-polynomial combined source
- 2022-07-23 00:42:09下载
- 积分:1