net.sf.cpsolver.coursett
Class TimetableXMLSaver

java.lang.Object
  extended by net.sf.cpsolver.coursett.TimetableSaver
      extended by net.sf.cpsolver.coursett.TimetableXMLSaver
All Implemented Interfaces:
Runnable

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)
Xml.ConvertIdsBooleanIf true, ids are converted (to be able to make input data public)
Xml.ShowNamesBooleanIf false, names are not exported (to be able to make input data public)
Xml.SaveBestBooleanIf true, best solution is saved.
Xml.SaveInitialBooleanIf true, initial solution is saved.
Xml.SaveCurrentBooleanIf true, current solution is saved.
Xml.ExportStudentSectioningBooleanIf true, student sectioning is saved even when there is no solution.

Version:
CourseTT 1.1 (University Course Timetabling)
Copyright (C) 2006 Tomáš Müller
muller@unitime.org
Lazenska 391, 76314 Zlin, Czech Republic

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Field Summary
static boolean ANONYMISE
           
 
Constructor Summary
TimetableXMLSaver(Solver solver)
           
 
Method Summary
 void save()
          Save the solution
 void save(File outFile)
           
 
Methods inherited from class net.sf.cpsolver.coursett.TimetableSaver
getModel, getSolution, getSolver, run, setCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANONYMISE

public static boolean ANONYMISE
Constructor Detail

TimetableXMLSaver

public TimetableXMLSaver(Solver solver)
Method Detail

save

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

Specified by:
save in class TimetableSaver
Throws:
Exception

save

public void save(File outFile)
          throws Exception
Throws:
Exception