登录
首页 » 数据结构 » 单源点最短路径算法 * 本程序用来实现单源点最短路径(E.Dijkstra)算法 * 在Turbo C2.0编译器下编译通过 * 算法过程中...

单源点最短路径算法 * 本程序用来实现单源点最短路径(E.Dijkstra)算法 * 在Turbo C2.0编译器下编译通过 * 算法过程中...

于 2022-03-23 发布 文件大小:1.36 kB
0 151
下载积分: 2 下载次数: 1

代码说明:

单源点最短路径算法 * 本程序用来实现单源点最短路径(E.Dijkstra)算法 * 在Turbo C2.0编译器下编译通过 * 算法过程中 * 每条边的两个顶点和权值由用户输入,格式:1 2 20 * 程序默认源点为第一个顶点 * 算法完成后输出路径长度和路径上的顶点 * 格式为:路径长度:目标顶点

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 清华大学类实现的乙
    清华大学数据结构课上实现的B+树,设计一个4阶B+树,包括: (1) 叶子的每个记录应该包括4字节(long)关键码值和60字节的数据字段(存储文件名等,可以自定),设每个叶子可以存储5条记录,而内部节点应该是关键码值/指针对。此外,每个节点还应该有指向同层下一个节点的指针、本节点存储的关键码数等; (2) 此4阶B+树应该支持插入、删除以及根据给定关键码值进行精确检索与关键码范围检索; (3) 显示(打印)此4阶B+树的生长(含删除节点)过程实例;-Tsinghua University class data structure to achieve the B-tree, the design of a B-tree four bands, including : (a) the leaves of each record should include 4-byte (long) key code value and 60 gigabytes of data fields (document storage, etc., can be set), set up each leaf store five records, and internal nodes is the key code value/means against. In addition, each node should have the same point under a layer of the target node, the node storage key code number; (2) The B-tree four bands should support the insertion, deletion and with the given key code value accurate retrieval and key codes scope retrieval; (3) Display (Print ) This four bands B-tree growth (including the deletion of nodes) process examples;
    2022-01-21 19:44:41下载
    积分:1
  • 预测算法,主要是一元n次方程的回归预测实现。* 预测分析...
    数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve reunification.* Forecast and Analysis-- This algorithm applies only to clear linear trend data* default as a quadratic curve equation method** The procedure involves two main algorithm* 1. Using the principle of least squares linear equations to find the constants and coefficients.* 2. The solution of linear equations* The procedure for solving linear equations, due to convergence problems using iterative method, instead of using the Gauss-Jordan elimination method to solve.
    2023-06-09 07:00:02下载
    积分:1
  • Video streaming
    在线视频流,并将其转换为mp3格式的音频文件。这个项目是在PHP框架下开发的。
    2022-06-02 09:04:19下载
    积分:1
  • 图论中二分图匹配求最佳匹配的KM算法,用c实现,简单易懂
    图论中二分图匹配求最佳匹配的KM算法,用c实现,简单易懂-Graph Theory in the bipartite graph matching the best match for KM algorithm, with c realize, easy-to-read
    2022-09-24 04:50:02下载
    积分:1
  • 计算PI的值有各种各样 ,看看这个算法是不是很简洁呢
    计算PI的值有各种各样 ,看看这个算法是不是很简洁呢-Calculated PI values are varied, to see if this algorithm is not very simple and does
    2022-01-27 15:59:10下载
    积分:1
  • c语言集锦
    c语言题型集锦,集合了大量的c语言题型,                                                                                                                拥有很多简单但很实用的算法,对学习c语言来说是不可多得的资料。
    2022-03-14 20:05:33下载
    积分:1
  • 类模板,助于参考及编写代码,代码以值的排序方式及链表操作为主....
    类模板,助于参考及编写代码,代码以数据结构值的排序方式及链表操作为主. -Class template, reference and help to write code, the code value to the data structure and linked list Sort-based operation.
    2022-03-05 19:39:25下载
    积分:1
  • array assignment is well
    如何给链表数组赋值,很适合初学数据结构的朋友。-array assignment is well-suited to beginners data structure friend.
    2022-04-26 12:45:20下载
    积分:1
  • SQL Server database structure viewer program (VC
    SQL Server 数据库结构查看程序(VC源码)-SQL Server database structure viewer program (VC-source)
    2022-02-13 10:03:24下载
    积分:1
  • 算法大全,包含最短路径,最小生成树,凸包,各种排序,四种高精度运算,图论上的常用算法,以及树的各种算法...
    数据结构算法大全,包含最短路径,最小生成树,凸包,各种排序,四种高精度运算,图论上的常用算法,以及树的各种算法-data structure ,if you want to learn it well, you need it,I think!
    2022-07-12 00:15:14下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载