27 Apr
2009
27 Apr
'09
7:18 p.m.
Please, help me to declare correctly the ColorMap as the 3-rd parameter of depth_first_search function. Documentation does not explain it clearly. Regards liquid
28 Apr
28 Apr
11:48 a.m.
Please, help me to declare correctly the ColorMap as the 3-rd parameter of depth_first_search function. Documentation does not explain it clearly.
It is often easier to use the named parameter versions of these algorithms. Calling DFS in this way may be written as: depth_first_search(g, visitor(vis). color_map(colors)); Parameters are "dot-constructed" using functions that name the variables. Documentation for each algorithm gives the names of functions that can be used to assemble named parameters. Andrew Sutton andrew.n.sutton@gmail.com
5679
Age (days ago)
5680
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrew Sutton
-
liquid