+ p->num_rows = rows;
+ p->num_cols = cols;
+ p->width = width;
+ p->match_type = match_type;
+
+ /*
+ In case of normal matching, we have to keep
+ track of nodes without edges to kill them in
+ the assignment later.
+ */
+ if (match_type == HUNGARIAN_MATCH_NORMAL) {
+ p->missing_left = bitset_obstack_alloc(&p->obst, rows);
+ p->missing_right = bitset_obstack_alloc(&p->obst, cols);
+ bitset_set_all(p->missing_left);
+ bitset_set_all(p->missing_right);
+ }