Apply doIf if p is possible, and/or doElse if !p is possible, doIf and doElse receive the probability of their respective event (non-zero).
See Implementation
Apply doIf if p is possible, and/or doElse if !p is possible, doIf and doElse receive the probability of their respective event (non-zero).