Dear all

Function graph_tool.generation.price_network has a parameter named *constant
factor.*

According to graph-tool documents, for undirected graphs, the degree
distribution of generated graph should be [image: image.png].

However, when I use different *constant factors *to generate different
price network graphs, I notice that all graphs have a same degree
distribution. It seems that different *constant factors *have no influence
on the degree distributions.

For example:

g1 = gt.price_network(100000, m=3, directed=False)
g2 = gt.price_network(100000, m=3, c=-0.9, directed=False)

For g1, the degree distribution should be [image: image.png].
For g2, the degree distribution should be [image: image.png].

When I draw the degree distributions of the two graphs, they are almost the
same.

So, does the parameter *constant factor  really *change the graph degree
distribution?

Regards,
Weitao Han
_______________________________________________
graph-tool mailing list
[email protected]
https://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to