[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ADT Sets?



> From: Michael van Acken <KK120y2@mail.lvr.de>
> 
> As it is, the module make perfect sense in a "simple type library"
> that concentrates on compactness and efficiency, but it does not fit
> into the current framework of classes.  Maybe this is a good time to  
> ..snip..

Agreed: an ADT Set is an unordered collection of unique objects.  This
module implements a set of bits, or a bounded set of integers 0..31,
depending
how you want to think of it.  So it could be used as a hidden concrete
class for sets of bounded integers, if the ADT ever implements such a
thing.  There was some talk of bounded/unbounded versions of each ADT
type but I think that might be too much to tackle currently.

--Ian