mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 08:12:14 +00:00
Added is_directed member function
[SVN r27651]
This commit is contained in:
@@ -493,6 +493,7 @@ void export_basic_graph(const char* name)
|
||||
class_<basic_graph<DirectedS> >(name)
|
||||
// Constructors
|
||||
.def(init<std::string, graph_file_kind>())
|
||||
.def("is_directed", &Graph::is_directed)
|
||||
// Vertex List Graph concept
|
||||
.def("num_vertices", &Graph::num_vertices)
|
||||
.add_property("vertices", range(&Graph::vertices_begin,
|
||||
|
||||
Reference in New Issue
Block a user