docs: public void updateOutsideEntry(int spanStart, int spanEnd, double[] values, Factor factor, VariableNumMap var) {
      if (sumProduct) {
        updateEntrySumProduct(outsideChart[spanStart][spanEnd],
            values, factor.coerceToDiscrete().getWeights(), var.getOnlyVariableNum());
      } else {
        updateEntryMaxProduct(outsideChart[spanStart][spanEnd],
            values, factor.coerceToDiscrete().getWeights(), var.getOnlyVariableNum());
      }
    }