name for a mutually inclusive relationship

Alan Gauld alan.gauld at yahoo.co.uk
Wed Feb 24 15:40:04 EST 2021


On 24/02/2021 16:12, Ethan Furman wrote:
> I'm looking for a name for a group of options that, when one is specified, all of them must be specified.
> 
> For contrast,
> 
> - radio buttons: a group of options where only one can be specified (mutually exclusive)
> - check boxes:   a group of options that are independent of each other (any number of
>                   them may be specified)
> 
> - ???: a group of options where, if one is specified, all must be specified (mutually
>         inclusive)

Given that radio buttons and check boxes are all effectively
using boolean states, doesn't this mean none of the group
or all of the group?

In which case it's a single boolean value - a check box that
controls all options.

I suspect I'm missing something...

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Python-list mailing list