Merge pull request #1103 from dmbreaker/feature/graph_comments

Added some graphical explanations for variables.
This commit is contained in:
Dennis Luxen
2014-06-26 12:16:44 +02:00
2 changed files with 23 additions and 0 deletions
+8
View File
@@ -72,6 +72,14 @@ template <typename GraphT> class BFSComponentExplorer
NodeID node,
unsigned current_component)
{
/*
Graphical representation of variables:
u v w
*---------->*---------->*
e2
*/
bfs_queue.emplace(node, node);
// mark node as read
m_component_index_list[node] = current_component;