- a type of rice, which can be; white, brown
- a type of bean, which can be; black, pinto, lima, or kidney
- any of the following toppings; guacamole, corn, salsa, sour cream, onion, lettuce, or cheese
We model each type of burrito as a triple (R, B, T), where R and B are the types of rice and bean, and T is any subset of the toppings. The type of burrito a customer picks depends on his/her preferences. We can model such preferences using a probability distribution over (R, B, T ).
- How many different types of burrito bowls are there?
- Eshan builds a burrito bowl as follows: He first chooses the type of rice and bean independently of each other. Based on both these choices, he chooses the toppings (the toppings are not chosen independently of each other). Provide an appropriate factorization of and the number of values that must be known to compute it for any R, B, T.
- Zafeer builds a burrito as follows: He first chooses type of rice. Based on this choice, he chooses a type of bean. He chooses the toppings independently of the other choices (toppings are not chosen independently of each other). Provide an appropriate factorization of and the number of values that must be known to compute it for any R, B, T