thanks for the quick reply.
I have this simple code to use the function
g = load_graph("Graph1.dot") trust = g.new_edge_property("double") trust.a = random(g.num_edges()) t = gt.trust_transitivity(g, trust, source=g.vertex(2), target=None) print t.a
I was expecting to get some values same as the documentation example, so could you please explain to me why do I got the following results? [ 0. 0. 1. ..., 0. 0. 0.]
P.S attached file is the graph I used to run this code
-- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.