function [samples, weights] = lw_C(bnet, num_samples, evidence, obs, max_node)
% LW Likelihood Weighting: generate some random samples (row vectors) by walking down the graph
% [samples, weights] = lw_C(bnet, num_samples, evidence, obs, max_node)

[samples, weights] = C_lw(evidence(:)-1, obs, num_samples, max_node-1);
samples = samples + 1;
