mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +00:00
(relation_print, relation_digraph):
Relation sizes are of type relation_node, not size_t (this is merely a doc fix, since the two types are equivalent). (relation_transpose): Relation sizes are of type relation_node, not int.
This commit is contained in:
@@ -35,16 +35,16 @@ typedef relation_nodes *relation;
|
|||||||
|
|
||||||
|
|
||||||
/* Report a relation R that has SIZE vertices. */
|
/* Report a relation R that has SIZE vertices. */
|
||||||
void relation_print (relation r, size_t size, FILE *out);
|
void relation_print (relation r, relation_node size, FILE *out);
|
||||||
|
|
||||||
/* Compute the transitive closure of the FUNCTION on the relation R
|
/* Compute the transitive closure of the FUNCTION on the relation R
|
||||||
with SIZE vertices.
|
with SIZE vertices.
|
||||||
|
|
||||||
If R (NODE-1, NODE-2) then on exit FUNCTION[NODE - 1] was extended
|
If R (NODE-1, NODE-2) then on exit FUNCTION[NODE - 1] was extended
|
||||||
(unioned) with FUNCTION[NODE - 2]. */
|
(unioned) with FUNCTION[NODE - 2]. */
|
||||||
void relation_digraph (relation r, size_t size, bitsetv *function);
|
void relation_digraph (relation r, relation_node size, bitsetv *function);
|
||||||
|
|
||||||
/* Destructively transpose *R_ARG, of size N. */
|
/* Destructively transpose *R_ARG, of size N. */
|
||||||
void relation_transpose (relation *R_arg, int n);
|
void relation_transpose (relation *R_arg, relation_node n);
|
||||||
|
|
||||||
#endif /* ! RELATION_H_ */
|
#endif /* ! RELATION_H_ */
|
||||||
|
|||||||
Reference in New Issue
Block a user