* @param round
*/
private static void singleRound(int round) {
System.out.println("round nr: " + round);
ToyClock clock = new ToyClock();
Store store = getStoreImpl();
store.setClock(clock);
Source source = new SourceImpl("http://example.org/graph-source");
TimedGraphSequence testData = TimedGraphSequence.getRandomSequence(4,
315);// + 300);//(round / 5));
try {
System.out.println("writing current-case.txt");
FileOutputStream currentCaseOut = new FileOutputStream(
"current-case.txt");
testData.write(currentCaseOut);
currentCaseOut.close();
currentCaseOut = null;
// graphs representing the state of a changing graph in
// chronological
// order
for (int i = 0; i < testData.getSize(); i++) {
clock.setTime(testData.getDate(i));
store.updateGraph(source, testData.getGraph(i));
}
for (int i = 0; i < 1/* 0 */; i++) {
if (!StoreTest.compareVersionAtRandomDate(store, source,
testData)) {