rsStateProbDiffs.setElement(j, gammas.get(t).getElement(j) - rsStateProb);
}
String[] wfLine = {Integer.toString(k), Integer.toString(t), "p(x_t=0|y^T)", "water-filling",
wfDistribution.getMaxValueKey().getResampleType().toString(),
Double.toString(wfStateProbDiffs.getElement(0))};
writer.writeNext(wfLine);
String[] rsLine = {Integer.toString(k), Integer.toString(t), "p(x_t=0|y^T)", "resample",
rsDistribution.getMaxValueKey().getResampleType().toString(),
Double.toString(rsStateProbDiffs.getElement(0))};
writer.writeNext(rsLine);
}