docs: public void setWeightList(List<? extends Object> varValues, double weight) {
      Preconditions.checkNotNull(varValues);
      Preconditions.checkArgument(getVars().size() == varValues.size());
      setWeight(vars.outcomeToAssignment(varValues), weight);
    }