docs: public static TableFactorBuilder ones(VariableNumMap variables) {
      TableFactorBuilder builder = new TableFactorBuilder(variables);
      Iterator<Assignment> allAssignmentIter = new AllAssignmentIterator(variables);
      while (allAssignmentIter.hasNext()) {
        builder.setWeight(allAssignmentIter.next(), 1.0);
      }
      return builder;
    }