On 06.12.2016 07:40, COMEGETME wrote: > After running an inference method such as: > graph_tool.inference.minimize_blockmodel_dl() > I get back a graph_tool.inference.BlockState, > which provides a PropertyMap on the vertices > which i can use to tell which group a vertex is in. > However, if i need to find out all the other members > of the same group, (suppose i need to find out who/what > else is in the same group as a particular vertex, is there > a way to list the groups members other than looping though all > vertices and querying their group in the Propertymap?
No, you have to loop. You can also use the find_vertex() convenience function, which does the looping for you. > As a bonus, i have a bit of a background in scientific application > support as a scientist+sysadmin, so here are Fedora 23/24 > graph_tool packages for the Fedora users out there, made with love using > the opensuse OBS. > http://download.opensuse.org/repositories/home:/theusprom1/Fedora_23/ > http://download.opensuse.org/repositories/home:/theusprom1/Fedora_24/ > For more info look here: > https://build.opensuse.org/package/show/home:theusprom1/graph-tool > I second your advise to use the prebuilt packages that the project has > already provided, > the compile time resources needed are non trivial > :(https://build.opensuse.org/package/statistics/home:theusprom1/graph-tool?arch=x86_64&repository=Fedora_24). > > I have used these packages (im just getting started though), so YMMV. Thank you for this. Do you intend to maintain these packages in the future? If yes, I will add a link to it in the graph-tool page. It would also be a good idea to try to propose these packages for inclusion into the standard OpenSuse repositories. Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
