- 1、本文档共15页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Depth first search and linear graph algorithms-英文文献
SIAM J. COMPUT.
Vol. 1, No. 2, June 1972
DEPTH-FIRST SEARCH AND LINEAR GRAPH ALGORITHMS*
ROBERT TARJAN
Abstract. The value of depth-first search or bacltracking as a technique for solving problems is
illustrated by two examples. An improved version of an algorithm for finding the strongly connected
components of a directed graph and ar algorithm for finding the biconnected components of an un-
direct graph are presented. The space and time requirements of both algorithms are bounded by
k 1V + k2E d- k for someconstants kl, k2, and ka, where Vis the number ofvertices and E is the number
of edges of the graph being examined.
Key words. Algorithm, backtracking, biconnectivity, connectivity, depth-first, graph, search,
spanning tree, strong-connectivity.
1. Introduction. Consider a graph G, consisting of a set of vertices U and a
set of edges g. The graph may either be directed (the edges are ordered pairs (v, w)
of vertices; v is the tail and w is the head of the edge) or undirected (the edges are
unordered pairs of vertices, also represented as (v, w)). Graphs form a suitable
abstraction for problems in many areas; chemistry, electrical engineering, and
sociology, for example. Thus it is important to have the most economical algo-
rithms for answering graph-theoretical questions.
In studying graph algorithms we cannot avoid at least a few definitions.
These definitions are more-or-less standard in the literature. (See Harary [3],
for instance.) If G (,g) is a graph, a path p’v w in G is a sequence of vertices
and edges leading from v to w. A path is simple if all its vertices are distinct. A path
p’v v is called a closed path. A closed path p’v v is a cycle if all its edges are
distinct and the only vertex to occur twice in p is v, which occurs exactly twice.
Two cycles which are cyclic permutations of each other are considered to be the
您可能关注的文档
- Base-calling of automated sequencer traces using phred. I. Accuracy Assessment-英文文献.pdf
- Awareness and Coordination in Shared Workspaces-英文文献.pdf
- Automatic verification of finite-state concurrent systems using temporal logic specifications-英文文献.pdf
- Bayesian Data Analysis-英文文献.pdf
- Bagging Predictors-英文文献.pdf
- Bayesian Density Estimation and Inference Using Mixtures-英文文献.pdf
- Basic concepts and taxonomy of dependable and secure computing-英文文献.pdf
- Bayesian Interpolation-英文文献.pdf
- Bayesian Network Classifiers-英文文献.pdf
- Behavior recognition via sparse spatio-temporal features-英文文献.pdf
文档评论(0)