function [determined, val] = determine_value_node(bnet, n)
% DETERMINE_VALUE_NODE Determine the value of node n, if possible.
% [determined, val] = determine_value_node(bnet, n)

bnode = bnet.bnodes{bnet.equiv_class(n)};
bnode.parents = parents(bnet.adj_mat, n);
bnode.self = n;
[determined, val] = determine_value_bnode(bnode, bnet);
