ttsolver
Class TimetableXMLSaver

java.lang.Object
  extended by ttsolver.TimetableSaver
      extended by ttsolver.TimetableXMLSaver

public class TimetableXMLSaver
extends TimetableSaver

This class saves the resultant solution in the XML format.

Parameters:

ParameterTypeComment
General.OutputStringFolder with the output solution in XML format (solution.xml)
General.ConvertIdsBooleanIf true, ids are converted (to be able to make input data public)

Version:
1.0
Author:
Tomáš Müller

Field Summary
static boolean DEBUG
           
 
Constructor Summary
TimetableXMLSaver(Solution solution)
           
 
Method Summary
 void save(PrintWriter out)
          Save the solution
 void setSolution(Solution solution)
           
 
Methods inherited from class ttsolver.TimetableSaver
getModel, getSolution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Constructor Detail

TimetableXMLSaver

public TimetableXMLSaver(Solution solution)
Method Detail

setSolution

public void setSolution(Solution solution)

save

public void save(PrintWriter out)
          throws Exception
Description copied from class: TimetableSaver
Save the solution

Specified by:
save in class TimetableSaver
Parameters:
out - some error/warning/info messages could be printed here
Throws:
Exception


Copyright © 2005 Tomáš Müller