lset.h 554 B

123456789101112131415161718192021
  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. * L O N G S E T S
  8. */
  9. lset Lempty_set();
  10. bool Lis_elem(Lelem_t x, lset s);
  11. void Ladd(Lelem_t x, lset *s_p);
  12. void Lremove(Lelem_t x, lset *s_p);
  13. Lindex Lfirst(lset s);
  14. Lindex Lnext(Lindex i, lset s);
  15. Lelem_t Lelem(Lindex i);
  16. void Ljoin(lset s1, lset *s2_p);
  17. void Ldeleteset(lset s);
  18. bool Lis_subset(lset s1, lset s2);
  19. short Lnrelems(lset s);