boost BGL:如果图形没有顶点,则smallest_last_vertex_ordering声明为false

时间:2015-01-29 23:36:36

标签: c++ boost

例如,以下代码在存储桶排序中声明为false。

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);

这是预期的吗?

0 个答案:

没有答案