code: public static FactorMarginalSet fromAssignment(VariableNumMap conditionedVariables, Assignment conditionedValues,
        double logPartitionFunction) {
      return new FactorMarginalSet(Collections.<Factor>emptyList(), logPartitionFunction, conditionedVariables, conditionedValues);
    }
docs: Constructs a marginal distribution over {@code conditionedVariables} that
  assigns all of its weight to {@code conditionedValues}. {@code
  partitionFunction} should be set to the unnormalized probability of {@code
  conditionedValues}.
  
  @param conditionedVariables
  @param conditionedValues
  @param logPartitionFunction