Fix directed -> weighted [closes #15]
This commit is contained in:
parent
5d66f48d46
commit
4072860dec
|
@ -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}
|
||||
\end{samepage}
|
||||
|
|
Loading…
Reference in New Issue