Am 16.07.2018 um 22:46 schrieb Zahra Sheikhbahaee:
Thanks for the explanation. I have another question:
In the "Inferring the mesoscale structure of layered, edge-valued and time-varying networks", you compared two way of constructing layered structures: first approach: You assumed an adjacency matrix in each independent layer. The second method, the collapsed graph considered as a result of merging all the adjacency matrices together.
I am wondering how I can use graph_tool for the first method? Which method or class should I use?
You have to pass the option "layers=True" to the LayeredBlockState constructor:
If there is a class, is it still possible to consider a graph with weighted edges?
Yes, it accepts 'recs/rec_types/rec_params' just like the regular BlockState.