@Override public Value sample(Assignment condition){
  IndependentDistribution result=getProbDistrib(condition);
  return result.sample();
}

@ Override public Value sample ( Assignment condition ) { IndependentDistribution result = getProbDistrib ( condition ) ; return result . sample ( ) ; }
samples a particular value for the output variable .
