code: public void setAssignmentValue(int[] assignment, double value) {
      assert !Double.isNaN(value);
      values[getTableAccessOffset(assignment)] = value;
    }
docs: Set a single value in the factor table.
  
  @param assignment a list of variable settings, in the same order as the neighbors array of the factor
  @param value      the value to put into the factor table