function [changed, new_ps] = change_parents_bnode(bnode, bnet)
% CHANGE_PARENTS_BNODE (Dispatch) Compute which parents we actually depend on given the evidence
% [changed, new_ps] = change_parents_bnode(bnode, bnet)
%
% If changed = 0. new_parents = []

switch bnode.type
  case 'mux',
    [changed, new_ps] = change_parents_mux(bnode, bnet);
  case 'mux2',
    [changed, new_ps] = change_parents_mux2(bnode, bnet);
  otherwise, 
    %error(['bad type' bnode.type]);
    changed = 0;
    new_ps = [];
end

 
