+ /*
+ * Connect edge with incident nodes. Since the edge is allocated, we know
+ * that it don't appear in the edge lists of the nodes.
+ */
+ ARR_APP1(pbqp_edge *, src_node->edges, edge);
+ edge->src = src_node;
+ ARR_APP1(pbqp_edge *, tgt_node->edges, edge);
+ edge->tgt = tgt_node;
+ edge->bucket_index = UINT_MAX;