1 /* $Id: warshall.c,v 1.9 2020/09/22 20:17:00 tom Exp $ */
6 transitive_closure(unsigned *R
, int n
)
17 rowsize
= WORDSIZE(n
);
18 relend
= R
+ n
* rowsize
;
25 unsigned *ccol
= cword
;
31 if (*ccol
& (1U << i
))
34 rend
= rowj
+ rowsize
;
46 if (++i
>= BITS_PER_WORD
)
57 reflexive_transitive_closure(unsigned *R
, int n
)
64 transitive_closure(R
, n
);
66 rowsize
= WORDSIZE(n
);
67 relend
= R
+ n
* rowsize
;
74 if (++i
>= BITS_PER_WORD
)