cset.h 740 B

123456789101112131415161718192021222324
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. /* O P E R A T I O N S F O R
  7. * C O M P A C T S E T S
  8. */
  9. cset Cempty_set(short n);
  10. bool Cis_elem(Celem_t x, cset s);
  11. void Cadd(Celem_t x, cset *s_p);
  12. void Cremove(Celem_t x, cset *s_p);
  13. Cindex Cfirst(cset s);
  14. Cindex Cnext(Cindex i, cset s);
  15. Celem_t Celem(Cindex i);
  16. void Cjoin(cset s1, cset *s2_p);
  17. void Cintersect(cset s1, cset *s2_p);
  18. void Cdeleteset(cset s);
  19. bool Cis_subset(cset s1, cset s2);void Cclear_set(cset *s_p);
  20. void Ccopy_set(cset s1, cset *s2_p);
  21. void Csubtract(cset s1, cset *s2_p);
  22. bool Cequal(cset s1, cset s2);
  23. short Cnrelems(cset s);