@Override
public Model<Vector>[] sampleFromPosterior(Model<Vector>[] posterior) {
Model<Vector>[] result = new NormalModel[posterior.length];
for (int i = 0; i < posterior.length; i++) {
NormalModel m = (NormalModel) posterior[i];
result[i] = m.sample();
}
return result;
}
}