From 4072860dece1e317dad1011ef8c3c09669ee31a8 Mon Sep 17 00:00:00 2001 From: Antti H S Laaksonen Date: Tue, 7 Mar 2017 18:54:41 +0200 Subject: [PATCH] Fix directed -> weighted [closes #15] --- chapter11.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}