4 ways 2 objects can exist:
- 01 : B
- 10: A
- 11: A and B
- 00: none
16 ways 2 objects can be demanded:
- 0001 : neither A nor B
- 0010 : A and B
- 0011 : either A and B together or neither of the two
- 0100 : B by himself
- 0101 : not A
- 0110 : B
- 0111 : not A by himself
- 1000 : A by himself
- 1001 : not B
- 1010 : A
- 1011 : not B by himself
- 1100 : exactly one of the two
- 1101 : at most one of the two
- 1110 : at least one of the two
- 1111 : do not care
- 0000 : null (no comment case)
Key: (only A) or (only B) or (A and B) or (none)
eg: 0101 means B by himself or none => not A
No comments:
Post a Comment