A more general algorithm for computing closed semiring costs between vertices of a directed graph

Author:

Fletcher John G.1

Affiliation:

1. Lawrence Livermore Lab, Livermore, CA

Abstract

This note describes a generalization of an algorithm given by Aho, Hopcroft, and Ullman [1], originally derived from the work of Kleene [2] and McNaughton and Yamada [3]. The algorithm is used to compute the total cost of all paths between each pair of vertices in a directed graph when the cost of each edge is known. The cost of a path is defined as the product of the costs of the edges forming it, and the total cost of a set of paths is the sum of their individual costs. If there are n vertices labeled 1 through n and E [ i, j ] is the cost of the edge from vertex i to vertex j (or is zero when there is no such edge), then the total cost T [ i, j ] of all paths from i to j is the solution of the equation T [ i, j ] = δ[ i, j ] + ∑ n k -1 E [ i, kT [ k, j ], (1) where δ[ i, i ] = 1 (the cost of the path of no edges from i to i ) and δ[ i, j ] = 0 if ij . To assure that T [ i, j ] is always well-defined, costs are required to be elements from an algebraic structure called a closed semiring.

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference3 articles.

1. The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading;Aho A.;Mass.,1974

2. Regular expressions and state graphs for automata;McNaughton R.;IRE Trans. Elec. Comptrs.,1960

Cited by 19 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Tropical Time Series, Iterated-Sums Signatures, and Quasisymmetric Functions;SIAM Journal on Applied Algebra and Geometry;2022-11-23

2. Semirings and Matrix Analysis of Networks;Encyclopedia of Social Network Analysis and Mining;2018

3. Semirings and Matrix Analysis of Networks;Encyclopedia of Social Network Analysis and Mining;2017

4. An algebraic approach to temporal network analysis based on temporal quantities;Social Network Analysis and Mining;2016-05-21

5. References;Understanding Large Temporal Networks and Spatial Networks;2014-11-28

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3