IN-CLASS EXAMPLE
Suppose we have Alice, Bob, Cathy and Don, and two cars - a
Civic and Mustang. We have some constraints:
- Alice and Bob have to be in different cars (the only drivers!)
- If Cathy and Don are in separate cars then Alice and Don have to be in separate cars too.
- Either Cathy or Don is in the Mustang, but not both.
- If Bob is in the Civic, then so is Cathy.
Can we put people in cars so that the constraints are
satisfied? If so, how?
ACTIVITY II
Assume we have Alice, Bob, Cathy and Don and the Civic and Mustang
like the in-class example, but use the following constraints
instead:
- If Alice or Bob are in the Civic, then so is
Cathy
- If Cathy or Don (but not both) are in the Civic, then
Alice and Bob are not in the same car
- Cathy is in the Mustang
Who goes in which car?