function bnet = compute_pi_mux(bnode, bnet)

n = bnode.self;

pi = prod_CPT_and_pi_msgs_mux(bnode, bnet, -1);
bnet.pearl.msg{n}.pi = pi;
bnet.pearl.computed_pi(n)=1;
