C++ boost-BGL:如果图没有顶点,则最小顶点排序断言为false
例如,下面的代码断言bucketsort为falseC++ boost-BGL:如果图没有顶点,则最小顶点排序断言为false,c++,boost,C++,Boost,例如,下面的代码断言bucketsort为false typedef boost::adjacency_list< boost::vecS, // outedgelist boost::vecS, // vertexlist > Graph; typedef Graph::vertex_descriptor VertexDesc; Graph graph; boost::vector_property_map<VertexDesc
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);
typedef boost::邻接列表<
boost::vecS,//outedgelist
boost::vecS,//顶点列表
>图形;
typedef图形::顶点描述符VertexDesc;
图形;
boost::向量属性映射顺序;
boost::最小顶点排序(图,顺序);
这是预期的吗