Пример #1
0
 private void setAssignmentLogValue(int[] assignment, double value) {
   super.setAssignmentValue(assignment, value);
 }
Пример #2
0
 /**
  * Just a pass through to the NDArray version, plus a Math.log to ensure that to the outside world
  * the TableFactor doesn't look like it's in log-space
  *
  * @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
  */
 @Override
 public void setAssignmentValue(int[] assignment, double value) {
   super.setAssignmentValue(assignment, Math.log(value));
 }