@Alan
I'm trying to understand why you find the solution you gave gross
I could construct all the objects and have a single global map, with
mappings for both set-id=[objects] and object=set-id, but this seems
kinda gross and obscures what is actually meant (objects belong to
sets) with
I've got a collection of unique objects, and I need to partition them
into sets. That part's easy enough, but I need to have both of the
following be efficient, and preferably easy:
- Given an object, determine what set it's in
- List all the objects in a given set
In an imperative language this
On Oct 3, 9:32 am, Alan a...@malloys.org wrote:
I've got a collection of unique objects, and I need to partition them
into sets. That part's easy enough, but I need to have both of the
following be efficient, and preferably easy:
- Given an object, determine what set it's in
- List all the
Am 03.10.2010 09:32, schrieb Alan:
I've got a collection of unique objects, and I need to partition them
into sets. That part's easy enough, but I need to have both of the
following be efficient, and preferably easy:
- Given an object, determine what set it's in
- List all the objects in a given
On Sun, 3 Oct 2010 00:32:16 -0700 (PDT)
Alan a...@malloys.org wrote:
I've got a collection of unique objects, and I need to partition them
into sets. That part's easy enough, but I need to have both of the
following be efficient, and preferably easy:
- Given an object, determine what set it's
On Sun, Oct 3, 2010 at 3:32 AM, Alan a...@malloys.org wrote:
I've got a collection of unique objects, and I need to partition them
into sets. That part's easy enough, but I need to have both of the
following be efficient, and preferably easy:
- Given an object, determine what set it's in
-