|
Boost Users : |
From: Ferng, Andrew D (andrew.d.ferng_at_[hidden])
Date: 2007-01-03 19:25:05
Never mind, after some trial and error, I got it. Quite simple once you
get the hang of it...
typedef graph_traits<adjacency_list<vecS, vecS,
undirectedS>>::vertex_descriptor vertex_descriptor;
typedef graph_traits<adjacency_list<vecS, vecS,
undirectedS>>::degree_size_type degree_size_type;
vertex_descriptor vtx = vertex(id, G);
degree_size_type degrees = out_degree(vtx, G);
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net