public class TimetableXMLSaver extends TimetableSaver
Parameter | Type | Comment |
---|---|---|
General.Output | String |
Folder with the output solution in XML format (solution.xml) |
Xml.ConvertIds | Boolean |
If true, ids are converted (to be able to make input data public) |
Xml.ShowNames | Boolean |
If false, names are not exported (to be able to make input data public) |
Xml.SaveBest | Boolean |
If true, best solution is saved. |
Xml.SaveInitial | Boolean |
If true, initial solution is saved. |
Xml.SaveCurrent | Boolean |
If true, current solution is saved. |
Xml.ExportStudentSectioning | Boolean |
If true, student sectioning is saved even when there is no solution. |
Modifier and Type | Field and Description |
---|---|
static boolean |
ANONYMISE |
Constructor and Description |
---|
TimetableXMLSaver(Solver<Lecture,Placement> solver) |
Modifier and Type | Method and Description |
---|---|
protected void |
doSave(Element root) |
void |
save()
Save the solution
|
void |
save(File outFile) |
Document |
saveDocument() |
getAssignment, getModel, getSolution, getSolver, getTerminationCondition, run, setCallback, setTerminationCondition
public static boolean ANONYMISE
public TimetableXMLSaver(Solver<Lecture,Placement> solver)
public void save() throws Exception
ProblemSaver
save
in class ProblemSaver<Lecture,Placement,TimetableModel>
Exception
- thrown when save failspublic Document saveDocument()