Skip to content

Commit

Permalink
fixed two typo (thanks KF5JWC)
Browse files Browse the repository at this point in the history
  • Loading branch information
patmorin committed May 8, 2017
1 parent 7192836 commit 847a6db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions latex/graphs.tex
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ \section{Graph Traversal}
\subsection{Breadth-First Search}

\index{breadth-first-search}%
The \emph{bread-first-search} algorithm starts at a vertex #i# and visits,
The \emph{breadth-first-search} algorithm starts at a vertex #i# and visits,
first the neighbours of #i#, then the neighbours of the neighbours of #i#,
then the neighbours of the neighbours of the neighbours of #i#, and so on.

Expand All @@ -338,7 +338,7 @@ \subsection{Breadth-First Search}
\begin{center}
\includegraphics[scale=0.90909]{figs/graph-bfs}
\end{center}
\caption[Breadth-first-search]{An example of bread-first-search starting at node 0. Nodes are
\caption[Breadth-first-search]{An example of breadth-first-search starting at node 0. Nodes are
labelled with the order in which they are added to #q#. Edges that
result in nodes being added to #q# are drawn in black, other edges
are drawn in grey.}
Expand Down

0 comments on commit 847a6db

Please sign in to comment.