atomspace icon indicating copy to clipboard operation
atomspace copied to clipboard

Introduce SetConnectorLink (or such) as parent type of UnionLink, etc

Open ngeiswei opened this issue 4 years ago • 2 comments

When matching classes of atoms, it could be convenient to be able to agglomerate all atom types representing concepts/sets. So for instance

(Get (TypeInh X (Type 'SetConnector)) X)

would match Set, Union, Intersection, Complement and possibly more.

ngeiswei avatar Sep 10 '21 06:09 ngeiswei

Sure. Except that SetConnector feels non-standard. Perhaps SetOperator or SetOperation would be better. Maybe SetFunction (Saying SetValuedFunction seems like too long a name).

However, saying that Set inherits from SetOperation seems awkward, so perhaps Collection is a better name. That is, Set, Union, etc. are all Collection s.

So I nominate Collection - that would be my favorite.

linas avatar Sep 10 '21 16:09 linas

This is a follow-up to #2844

linas avatar Sep 10 '21 16:09 linas