Question: Q 3 ( 1 0 points ) Consider a 1 times n strip of cells containing white, grey, and black stones with the following
Q points Consider a times n strip of cells containing white, grey, and black stones with the following rules: i Every cell contains exactly one stone. ii There is at least one black stone on the strip. iii A grey stone cannot be adjacent to a black stone. iv All cells to the left of a white stone are occupied by white stones. For each in let wi gi bi be boolean variables. We interpret wi to mean there is a white stone on cell i and wi to mean there is not a white stone on cell i Similarly for gi grey and bi black Write down a boolean formula F such that for any assignment of values or to the variables, F evaluates to true if and only if the rules above are respected. You may use the following notations, similar to the sigma notation used for sums: inxixxxn inxixxxn
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
