On 06/20/2014 03:27 AM, yandim601 wrote:
I've faced difficulties using the package graph_tool.topology - Assessing graph topology. Specifically, I am trying to use the function graph_tool.topology.subgraph_isomorphism, but incorporating the values of the arguments vertex_label edge_labels. At the documentation provided at the graph-tool web site does not appear explicit examples of how these value can be defined. The aim is to identify isomorphisms, with coincidence on vertices and edges labels. Can you give me an example or page where this is explained clearly?
Sorry for the delay. I seem to have missed this message when it was posted. The edge/vertex labels should be property maps which specify the values at each node or edge witch must be identical if two vertices or edges in each graph are mapped in the resulting isomorphism. I don't have an example handy at the moment, but I think the interpretation should be straightforward. If you have any trouble using it, please post succinctly what you are trying to achieve, and what is the difficulty you are encountering. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>