OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5406445
)
fix indent
author
Ir1dXD
<sirius.caffrey@gmail.com>
Sun, 14 Jul 2019 11:03:21 +0000
(19:03 +0800)
committer
GitHub
<noreply@github.com>
Sun, 14 Jul 2019 11:03:21 +0000
(19:03 +0800)
docs/graph/scc.md
patch
|
blob
|
history
diff --git
a/docs/graph/scc.md
b/docs/graph/scc.md
index
5951039
..
c18ca16
100644
(file)
--- a/
docs/graph/scc.md
+++ b/
docs/graph/scc.md
@@
-40,8
+40,8
@@
Tarjan 发明了很多算法结构。光 Tarjan 算法就有很多,比如求
### Tarjan 算法求强连通分量
在 Tarjan 算法中为每个结点 $u$ 维护了以下几个变量:
-1
\.
$DFN[u]$ :深度优先搜索遍历时结点 $u$ 被搜索的次序。
-2
\.
$LOW[u]$ :设以 $u$ 为根的子树为 $Subtree(u)$ 。 $LOW[u]$ 定义为以下结点的 $DFN$ 的最小值: $Subtree(u)$ 中的结点;从 $Subtree(u)$ 通过一条不在搜索树上的边能到达的结点。
+1
.
$DFN[u]$ :深度优先搜索遍历时结点 $u$ 被搜索的次序。
+2
.
$LOW[u]$ :设以 $u$ 为根的子树为 $Subtree(u)$ 。 $LOW[u]$ 定义为以下结点的 $DFN$ 的最小值: $Subtree(u)$ 中的结点;从 $Subtree(u)$ 通过一条不在搜索树上的边能到达的结点。
一个结点的子树内结点的 DFN 都大于该结点的 DFN。