Boost logo

Boost :

From: Dave Gomboc (dave_at_[hidden])
Date: 2002-08-29 15:08:02


> No, I would not agree, though I may be totally off-base for doing so.
> I would expect a "power set" to include all the subsets of a set, and
> offer some way to access them. I don't see the proposed library as
> offering this capability. To take a simple example:
>
> Set S:
> {0, 1, 2}
>
> Power set P(S):
> {{}, {0}, {1}, {2}, {0, 1}, {0, 2}, {1, 2}, {0, 1, 2}}
>
> Now, while the set library in question can represent *each* of the
> elements of the power set, as you say, I don't see it as *being* the
> power set.

Nor do I. Based on what I wrote and what you wrote, I think we are in
violent agreement.

Anyway, as I wrote earlier, I doubt people would be happy with
"element_of_power_set", so I'll just abandon the idea of referring to the
power set in its name.

Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk