C/C++
ggcl.txt
Associated article: The Generic Graph Component Library
Tags: C/C++
Published source code accompanying the article by Jeremy G. Siek, Lie-Quan Lee, and Andrew Lumsdaine in which they present the Generic Graph Component Library (GGCL) for use with sparse matrix ordering algorithms for scientific computing. Also see GGCL21.ZIP
The Generic Graph Component Library
by Jeremy G. Siek, Lie-Quan Lee, and Andrew Lumsdaine
Listing One
depth_first_search(Graph G, Color color)
{
for each vertex u in vertices(G) {
color[u] = white;
visit(u, color);
}
}
visit(u, Color color)
{
...


