1994-06-24 11:31:16 +00:00
|
|
|
/* $Id$ */
|
1987-03-09 19:15:41 +00:00
|
|
|
/*
|
|
|
|
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
|
|
|
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
|
|
|
*/
|
1984-11-26 15:04:22 +00:00
|
|
|
/* O P E R A T I O N S F O R
|
|
|
|
* C O M P A C T S E T S
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2017-11-15 21:29:27 +00:00
|
|
|
cset Cempty_set(short);
|
|
|
|
bool Cis_elem(Celem_t, cset);
|
|
|
|
void Cadd(Celem_t, cset *);
|
|
|
|
void Cremove(Celem_t, cset *);
|
|
|
|
Cindex Cfirst(cset);
|
|
|
|
Cindex Cnext(Cindex, cset);
|
|
|
|
Celem_t Celem(Cindex);
|
|
|
|
void Cjoin(cset, cset *);
|
|
|
|
void Cintersect(cset, cset *);
|
|
|
|
void Cdeleteset(cset);
|
|
|
|
bool Cis_subset(cset, cset);
|
2019-10-31 22:05:22 +00:00
|
|
|
void Cclear_set(cset *);
|
2017-11-15 21:29:27 +00:00
|
|
|
void Ccopy_set(cset, cset *);
|
|
|
|
void Csubtract(cset, cset *);
|
|
|
|
bool Cequal(cset, cset);
|
|
|
|
short Cnrelems(cset);
|