StringBuilder s = new StringBuilder();
int tableIndex = 0;
int[] args = new int[event.getParents().size()];
do {
for (int result = 0; result < event.getChoices().size(); result++) {
TableLine line = event.getTable().findLine(result, args);
if (s.length() > 0) {
s.append(" ");
}
s.append(CSVFormat.EG_FORMAT.format(line.getProbability(),
Encog.DEFAULT_PRECISION));
}
} while (BIFUtil.rollArgs(event, args));
return s.toString();
}