2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-28 19:22:11 +00:00

Document all of the BGL algorithms that are available in the Python bindings.

In some cases, tweak the implementations where they didn't make sense.


[SVN r28344]
This commit is contained in:
Douglas Gregor
2005-04-20 20:08:35 +00:00
parent 9fe51b2a58
commit efc05efebd
26 changed files with 920 additions and 266 deletions

View File

@@ -65,13 +65,13 @@ void export_isomorphism()
using boost::python::object;
def("isomorphism", &isomorphism<Graph>,
(arg("graph"),
(arg("g1"), arg("g2"),
arg("isomorphism_map") =
(vector_property_map<Graph::Vertex, Graph::VertexIndexMap>*)0,
arg("vertex_invariant") = object()));
def("isomorphism", &isomorphism<Digraph>,
(arg("graph"),
(arg("g1"), arg("g2"),
arg("isomorphism_map") =
(vector_property_map<Digraph::Vertex, Digraph::VertexIndexMap>*)0,
arg("vertex_invariant") = object()));

View File

@@ -38,7 +38,7 @@ void export_transitive_closure()
def("transitive_closure", &transitive_closure<Digraph>,
(arg("graph"),
arg("g_to_tc_map") =
arg("orig_to_copy") =
(vector_property_map<Digraph::Vertex, Digraph::VertexIndexMap>*)0));
}