public void fillConditionalHoles(){
  ValueRange possibleCondPairs=new ValueRange(table.keySet());
  if (possibleCondPairs.getNbCombinations() < 500) {
    Set<Assignment> possibleCondAssignments=possibleCondPairs.linearise();
    possibleCondAssignments.remove(new Assignment());
    for (    Assignment possibleCond : possibleCondAssignments) {
      if (!table.containsKey(possibleCond)) {
        addRow(possibleCond,ValueFactory.none(),1.0);
      }
    }
  }
}

public void fillConditionalHoles ( ) { ValueRange possibleCondPairs = new ValueRange ( table . keySet ( ) ) ; if ( possibleCondPairs . getNbCombinations ( ) < 500 ) { Set < Assignment > possibleCondAssignments = possibleCondPairs . linearise ( ) ; possibleCondAssignments . remove ( new Assignment ( ) ) ; for ( Assignment possibleCond : possibleCondAssignments ) { if ( ! table . containsKey ( possibleCond ) ) { addRow ( possibleCond , ValueFactory . none ( ) , 1.0 ) ; } } } }
fill the " conditional holes " of the distribution - - that is , the possible conditional assignments y1 , . . . , yn that are not associated with any distribution p ( x1 , . . . , xn | y1 , . . . , yn ) in the table . the method create a default assignment x1 = none , . . . xn = none with probability 1 . 0 for these cases .
