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:
@@ -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()));
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user