Transitive closure of a directed graph

Материал из WikiGrapp
Версия от 13:59, 4 августа 2011; Glk (обсуждение | вклад) (Новая страница: «'''Transitive closure of a directed graph''' --- транзитивное замыкание орграфа. Given a digraph <math>G = (V,A)</math>, the ''' transit…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

Transitive closure of a directed graph --- транзитивное замыкание орграфа. Given a digraph [math]\displaystyle{ G = (V,A) }[/math], the transitive closure of [math]\displaystyle{ G }[/math] is the digraph [math]\displaystyle{ G^{+} = (V,A^{+}) }[/math] such that an arc [math]\displaystyle{ (x,y) }[/math] belongs to [math]\displaystyle{ A^{+} }[/math] iff there exists a path [math]\displaystyle{ P(x,y) }[/math] in [math]\displaystyle{ G }[/math].

Warshall's algorithm computes transitive closures in [math]\displaystyle{ {\mathcal O}(n^{3}) }[/math] time.