private void writeNQueens(int n) {
   String outputFileName = n + "queens.xml";
   File outputFile = new File(outputDir, outputFileName);
   NQueens nQueens = createNQueens(n);
   solutionDao.writeSolution(nQueens, outputFile);
 }
 public void generate() {
   String inputId = "munich-7teams";
   File outputFile = new File(outputDir, inputId + ".xml");
   TennisSolution tennisSolution = createTennisSolution(inputId);
   solutionDao.writeSolution(tennisSolution, outputFile);
 }