[igraph] Accessing the isomorphisms returned by igraph_get_isomorphisms_
From:
Mark McClure
Subject:
[igraph] Accessing the isomorphisms returned by igraph_get_isomorphisms_vf2
Date:
Mon, 02 Mar 2009 01:17:09 -0500
How can I access the isomorphisms returned by igraph_get_isomorphisms_vf2 (and presumably related functions)? Evidently, they're stored in a pointer to an igraph_vector_ptr_t, but I've no idea how to access the individual mappings as lists.
Here's a simplified snippet of what I've got so far:
igraph_vector_ptr_t maps; igraph_vector_ptr_init(&maps, 1); int status = igraph_get_isomorphisms_vf2(&graph, &graph, &maps); int size = igraph_vector_ptr_size(&maps); ------------------
At this point, I guess the mappings are stored in maps. Also, my status variable returns 0 and size returns 6; I guess these are both good. But again, how can I access the actual permutations?