pyuutils.base.relation
Relation convertion table:
Func
DIFFERENT
SUPERSET
SUBSET
EQUAL
sym_relation
DIFFERENT
SUBSET
SUPERSET
EQUAL
sub2super
DIFFERENT
DIFFERENT
SUPERSET
SUPERSET
super2sub
DIFFERENT
SUBSET
DIFFERENT
SUBSET
Relation
- enum pyuutils.base.relation.Relation(value)[source]
Enum for base relations between sets.
Valid values are as follows:
- DIFFERENT = <Relation.DIFFERENT: <_CRelation._c_DIFFERENT: 0>>
Incomparable or not (set1 <= set2) depending on exactness
- SUPERSET = <Relation.SUPERSET: <_CRelation._c_SUPERSET: 1>>
Same as superset
- SUBSET = <Relation.SUBSET: <_CRelation._c_SUBSET: 2>>
Same as subset
- EQUAL = <Relation.EQUAL: <_CRelation._c_EQUAL: 3>>
Set1 is equal to set2 or not used