@Override
	protected void printResultsToFile(PrintWriter writer) {
		for (int i = 0; i < nrOfConcentrations; i += STEP_SIZE) {
			writeToFile(times.get(i), false);
			
			for (int j = 0; j < nrOfClusters; j++) {
				for (int k = 0; k < VARIATION_DATA_SIZE; k++) {
					if (isLastElement(nrOfClusters, j, VARIATION_DATA_SIZE, k)) {
						writeToFile(clusterVariationData[j][k][i], true);
					} else {
						writeToFile(clusterVariationData[j][k][i], false);
					}
				}
			}
		}
	}