jeudi 29 janvier 2015

boost BGL: smallest_last_vertex_ordering asserts false if a graph has no vertices


Vote count:

0




For example, the follow code asserts false from bucketsort.



typedef boost::adjacency_list<
boost::vecS, // outedgelist
boost::vecS, // vertexlist
> Graph;
typedef Graph::vertex_descriptor VertexDesc;
Graph graph;
boost::vector_property_map<VertexDesc> order;
boost::smallest_last_vertex_ordering(graph, order);


Is this expected?




Guvante

10.9k

asked 57 secs ago

Joe C

125






boost BGL: smallest_last_vertex_ordering asserts false if a graph has no vertices

Aucun commentaire:

Enregistrer un commentaire