public void computeMarginals(JunctionTree jt) {
   inLogSpace = false; // ??
   jtCurrent = jt;
   propagator.computeMarginals(jtCurrent);
   totalMessagesSent += propagator.getTotalMessagesSent();
 }
 public void computeMarginals(FactorGraph mdl) {
   inLogSpace = mdl.getFactor(0) instanceof LogTableFactor;
   buildJunctionTree(mdl);
   propagator.computeMarginals(jtCurrent);
   totalMessagesSent += propagator.getTotalMessagesSent();
 }