登录
首页 » 数据结构 » 求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接...

求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接...

于 2023-05-31 发布 文件大小:9.89 kB
0 72
下载积分: 2 下载次数: 1

代码说明:

求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接的线路连接。如果用三元组(i,j,f)来表示该网络中的站点I和站点j之间有直接的线路连接且它们之间的距离为f 当已知该网络各站点之间的直接连接情况由m个三元组(i1,j1,f1),(i2,j2,f2),…,(im,jm,fm)确定时,要求计算出对于网络中任意一个站点g(1≤g≤n)到其余各站点的最短距离。-the shortest path. Assuming a computer network n site, followed by No. 1, 2, ..., n; Some sites have direct connections (that is, between two sites are no other site), and some sites have no direct connections. If three yuan (i, j, f) to the network said the site j site and I have direct connections between them but the distance of f the network known as the site of the direct link between the situation by 3 m (i1, j1, f1), ( i2, j2, f2), ..., (im, jm, fm) to determine, calculate requirements for a network site arbitrary g (1 g n) of the rest of the site is the shortest distance.

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

发表评论

0 个回复

  • 与算法入门导学》 第一章 概论 第二章 线性表 第三章 栈和队列 第四章 串 第五章 多维组和广义 表 第六章 树 第七章 图 第八章 排序 第...
    《数据结构与算法入门导学》 第一章 概论 第二章 线性表 第三章 栈和队列 第四章 串 第五章 多维数组和广义 表 第六章 树 第七章 图 第八章 排序 第九章 查找 第十章 文件-" Introduction to Data Structures and Algorithm Study I." Introduction to Chapter II Chapter III Chapter linear stack and queue Chapter IV Chapter V multi-dimensional array of strings and generalized tree table Chapter VI Chapter VII Chapter VIII of the sort ninth plan Chapter X Chapter document search
    2022-02-25 21:36:38下载
    积分:1
  • 1.1 算法与程序 1.2 算法与 1.3 表达算法的抽象机制 1.4 描述算法与算法设计 1.5 算法分析的基本原则 1.6 算法...
    1.1 算法与程序 1.2 算法与数据结构 1.3 表达算法的抽象机制 1.4 描述算法与算法设计 1.5 算法分析的基本原则 1.6 算法复杂性分析
    2022-02-15 08:08:36下载
    积分:1
  • C语言做的一个库的小程序,虽然小,但是可以帮助初学者学习怎样用C实现库编程...
    C语言做的一个数据库的小程序,虽然小,但是可以帮助初学者学习怎样用C实现数据库编程-C language to a database of small programs, although small, but can help beginners learn how to use C Database Programming
    2022-03-10 06:15:55下载
    积分:1
  • PB制作时钟小程序
    PB制作时钟小程序-PB produced small clock procedures
    2023-08-23 03:55:04下载
    积分:1
  • 反思分贝
    一个开源的分布式JSON文档数据库,带有一个愉快而强大的查询语言。
    2023-06-02 08:50:04下载
    积分:1
  • 四种算法求最短路径的例子,C#,图形演示 分别为贪心发,动态规划发,分支限界法,和回溯法...
    四种算法求最短路径的例子,C#,图形演示 分别为贪心发,动态规划发,分支限界法,和回溯法-Four shortest path algorithm for example, C#, Graphical presentations were greedy fat, fat, dynamic programming, branch and bound method, and backtracking
    2023-08-31 01:50:03下载
    积分:1
  • should I do our school among a software, it is our resolve to schools such condi...
    是我应我们学校学工部做的软件,其主要是解决想我们学校这样的条件--各个办公室之间还没有建立联网,而且学校分为两个校区(又不在一个城市).   因此,学工部每年的学分登记工作都很麻烦.每学年初,学工部要把当年发布的学分评测规定发到各系,学年末又要把从系里面提交的学分表收齐,然后手工登记,非常的麻烦.有时是系里面的学分报表太乱,有些资料丢失,要么是,系里面把各年的学分评测规定弄混,经常搞的他们一头雾水,于是为他们就请我做这个系统.   这个系统的工作流程是,每个学年初,学工部输入当年的学分评定规定,然后到处成为学分评测数据,然后Copy给各个系,各个系在每个学年中,输入新的专业,年级,班级和新生的资料,然后登记学分评测的纪录和考试的成绩.当学年末到了,各系把党学年的数据导成数据库,然后copy给学工部,学工部就可以用电脑纪录所有的学分纪录. -should I do our school among a software, it is our resolve to schools such conditions-- every office has not yet been established between the network and the school is divided into two campuses (not in a city). Therefore, each of the credit among a registration work very troublesome. Every beginning of the school year, among a year should release the credit evaluation of the provisions of the various faculties, should also learn from the end line inside the table collected credits, and then manual registration, very troublesome. Sometimes there is too much of the credit chaos statements, some of the inform
    2022-03-23 09:43:26下载
    积分:1
  • 约瑟夫环的c语言实现
    约瑟夫环的c语言实现-Josephus in C Language
    2022-10-21 09:50:03下载
    积分:1
  • 经过改进的C语言位操作功能
    经过改进的C语言位操作功能-improved C-language feature
    2022-04-11 23:25:38下载
    积分:1
  • OTL4示例
    OTL4.0被设计成一个C++模板框架和OTL-适配器的组合。该框架是一个通用的实施OTL流的概念。该OTL-适配器周围的数据库API薄包装和作为类的类型参数传递到模板框架。
    2022-03-22 23:36:29下载
    积分:1
  • 696524资源总数
  • 103791会员总数
  • 67今日下载