2 /* Id: warshall.c,v 1.6 2008/11/24 21:30:35 tom Exp */
7 __RCSID("$NetBSD: warshall.c,v 1.8 2006/05/24 18:01:43 christos Exp $");
10 transitive_closure(unsigned *R
, int n
)
22 rowsize
= WORDSIZE(n
);
23 relend
= R
+ n
* rowsize
;
38 rend
= rowj
+ rowsize
;
50 if (++i
>= BITS_PER_WORD
)
61 reflexive_transitive_closure(unsigned *R
, int n
)
68 transitive_closure(R
, n
);
70 rowsize
= WORDSIZE(n
);
71 relend
= R
+ n
* rowsize
;
78 if (++i
>= BITS_PER_WORD
)