function table = mk_max_table_from_bnode(bnode)
% MK_MAX_TABLE_FROM_BNODE (Dispatch) Compute a table representing the conditional distrib. of a generic node.
% table = mk_max_table_from_bnode(bnode)

switch bnode.type
  case 'tabular',
    table = mk_max_table_from_tabular(bnode);
  otherwise,
    error(['bad type ' bnode.type]);
end

