int costs; /** the costs of the edge (affinity_node_t->irn, neighb_t->irn) */
};
struct _affinity_node_t {
int costs; /** the costs of the edge (affinity_node_t->irn, neighb_t->irn) */
};
struct _affinity_node_t {
int degree; /** number of affinity edges in the linked list below */
neighb_t *neighbours; /** a linked list of all affinity neighbours */
void *data; /** stuff that is attachable. */
};
int degree; /** number of affinity edges in the linked list below */
neighb_t *neighbours; /** a linked list of all affinity neighbours */
void *data; /** stuff that is attachable. */
};
- return set_find(co->nodes, &find, sizeof(find), nodeset_hash(irn));
+ return set_find(co->nodes, &find, sizeof(find), hash_irn(irn));