<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;"><div><div></div><div>�� �// Calling DFS with named parameters</div> <div>�� �<font size="3"><span style="font-size: 12px;"><font color="#ff2618">depth_first_search(*g, visitor(actions), root_vertex(source));</font></span></font></div></div></div></blockquote><div><br>�The named parameter DFS only takes two parameters - sort of. The graph and a named_params composition. You probably need to write:<br> <br>dfs(*g, visitor(actions).root_vertex(source));<br><br>Note the "." instead of a ",".<br></div></div><br>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br>