Warshall’s Algorithm
Jeevitha S
Definition
The transitive closure of a directed graph with n
vertices can be defined as the n × n boolean
matrix T = {tij }, in which the element in the ith
row and the j th column is 1 if there exists a
nontrivial path (i.e., directed path of a positive
length) from the ith vertex to the j th vertex;
otherwise, tij is 0.
Warshall’s Algorithm
Algorithm
THANK YOU!!!