igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Complex node attributes for subgraph isomorphism via vf2


From: Tamas Nepusz
Subject: Re: [igraph] Complex node attributes for subgraph isomorphism via vf2
Date: Thu, 19 Jan 2012 10:50:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0

> Thanks for the recommendations, I will start work asap. Just to clarify,
> the igraph_subisomorphic_function_vf2 function will now look like:
> 
> int igraph_subisomorphic_function_vf2(const igraph_t *graph1,
>                                       const igraph_t *graph2,
>                                       const igraph_vector_int_t 
> *vertex_color1,
>                                       const igraph_vector_int_t 
> *vertex_color2,
>                                       const igraph_vector_int_t *edge_color1,
>                                       const igraph_vector_int_t *edge_color2,
>                                       igraph_vector_t *map12,
>                                       igraph_vector_t *map21,
>                                       igraph_isohandler_t *function,
>                                       igraph_isocomp_t *node_compat_fn,
>                                       igraph_isocomp_t *edge_compat_fn,
>                                       void *arg) {
Yes, this is what I've had in mind.

> typedef igraph_bool_t igraph_isocomp_t(const igraph_t*, const igraph_t*, 
> igraph_integer_t, igraph_integer_t, void*);
> The only difference is passing through both graphs, as the second int relates 
> to this.
Oh yeah, sure, you are right, I forgot about that.

Let me know if you made some progress. (You can use my private email address
above).

Cheers,
Tamas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]