boost-graph
compare topologically sorted list with the original list
i have a vector of vertices from mygraph, and i topologically sort the vertices. typedef typename boost::adjacency_list<boost::listS, boost::vecS,[详细]
2023-03-20 03:09 分类:问答Boost graph recursive template problem
Hi I have a boost graph like: struct Vertex; struct Edge; typedef boo开发者_开发知识库st::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, Vertex, Edge> Graph_t;[详细]
2023-03-14 14:49 分类:问答Extracting segments from a list of 8-connected pixels
Current situation: I\'m trying to extract segments from an image. Thanks to openCV\'s findContours() method, I now have a list of 8-connected point for every contours. However, these lists are not dir[详细]
2023-03-13 22:24 分类:问答Where Is color_map defined in BGL?
Example code from BGL: breadth_first_search(g, vertex(s, g), color_map(get(&VertexProps::color, g)).visitor(vis));[详细]
2023-03-11 20:44 分类:问答boost graph library - minimal example of vertex colors and graphviz output
Being new to the boost graph library, I find it\'s often difficult to tease out what pieces of the examples are tied to the particular example and which parts are universal to usage.[详细]
2023-02-28 16:15 分类:问答Why can't I use boost graph write_graphviz with OutEdgeList=listS and VertexList=listS
Why can\'t I compile the following simple app. If I changes listS to vecS every thing works just fine. (I\'am using boost 1.46.1 and gcc 4.4.5)[详细]
2023-02-28 09:26 分类:问答Error in BGL documentation?
In the documentation of the algorithm isomorphism of the Boost Graph Library, it is stated that the named parameter vertex_invariant1 and vertex_invariant2 take a binary function as argument. However,[详细]
2023-02-18 19:30 分类:问答Output BGL Edge Weights
I am trying to iterate through the edges of a graph and output their edge weights. I am confused though. I know how to output the \"edges\", but this is actually just a (vertex, vertex) which defines[详细]
2023-02-07 10:29 分类:问答Using boost::depth_first_search with Visitor
As the title suggests, I\'m using boost::depth_first_search and using a Visitor (inheriting from boost::default_dfs_visitor) to implement some algorithm.[详细]
2023-02-04 19:47 分类:问答BGL: How do I get direct access to data of nodes and edges?
I have another problem regarding the Boost Graphic Library which I could not answer myself by googling nor reading the documentation. It\'s not directly related to my other questions so I thought I\'d[详细]
2023-01-27 15:06 分类:问答