Hello,

I'm writing an application with heavy graph operations. It's written
in python, so i've tried networkx, igraph and lately i've tried to use
boost graph library bindings to python (BGL-PY).

Thanks god i ran into graph-tool which looks very complete and also is
doing a transition into something very handy for me (python accessible
boost-based library).

I'm having a look at the API i found here:
http://projects.forked.de/graph-tool/doc/quickstart.html#creating-and-manipulating-graphs

 and i see i add vertices with g = Graph()     g.add_vertices() and
calculate the betweeness centrality with
graph_tool.centrality.betweeness_centrality().

As i was looking for an implementation of a minimum spanning tree i
realized i couldn't find it in the reference i pointed a couple of
lines above.

So i had a look at the graph_tool.py that uses the library and
realized that the interface is different there.

Graph = GraphInterface()
Graph.GetBetweennessCentrality() or Graph.GetMinimumSpanningTree()
etc, and i cannot find any add_vertex() in this API.

I'm a bit confused, so i'm trying to understand what i should use to
have full power over the graph-tool API.


TIA


Claudio Martella

-- 
    Claudio Martella
    claudio.marte...@gmail.com
_______________________________________________
graph-tool mailing list
graph-tool@forked.de
http://lists.forked.de/mailman/listinfo/graph-tool

Reply via email to