// bottom-up pass
private void collectEvidence (JunctionTree jt, VarSet parent, VarSet child)
{
logger.finer ("collectEvidence " + parent + " --> " + child);
for (Iterator it = jt.getChildren (child).iterator (); it.hasNext ();) {
VarSet gchild = (VarSet) it.next ();
collectEvidence (jt, child, gchild);
}
if (parent != null) {
totalMessagesSent++;
strategy.sendMessage (jt, child, parent);