diff --git a/chapter11.tex b/chapter11.tex index a859926..f568390 100644 --- a/chapter11.tex +++ b/chapter11.tex @@ -624,7 +624,7 @@ can be represented as follows: \end{tikzpicture} \end{center} -If the graph is directed, the adjacency matrix +If the graph is weighted, the adjacency matrix representation can be extended so that the matrix contains the weight of the edge if the edge exists. @@ -759,4 +759,4 @@ v.push_back(make_tuple(2,4,6)); v.push_back(make_tuple(3,4,5)); v.push_back(make_tuple(4,1,2)); \end{lstlisting} -\end{samepage} \ No newline at end of file +\end{samepage}