public void addRow(Assignment head,double prob){
  if (prob < 0.0f || prob > 1.02f) {
    return;
  }
  headVars.addAll(head.getVariables());
  table.put(head,prob);
}

public void addRow ( Assignment head , double prob ) { if ( prob < 0.0f || prob > 1.02f ) { return ; } headVars . addAll ( head . getVariables ( ) ) ; table . put ( head , prob ) ; }
adds a new row to the probability table , assuming no conditional assignment . if the table already contains a probability , it is erased .
