cond

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).

  1. void cond(Probability p)
  2. void cond(Probability p)
    void
    cond
    (
    alias doIf
    alias doElse
    )

Meta