public class StudentSectioningXMLSaver extends StudentSectioningSaver
| 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.SaveOnlineSectioningInfo | Boolean |
If true, save online sectioning info (i.e., expected and held space of each section) |
| Xml.SaveStudentInfo | Boolean |
If true, save student information (i.e., academic area classification, major, minor) |
new StudentSectioningXMLSaver(solver).save(new File("solution.xml"));
| Constructor and Description |
|---|
StudentSectioningXMLSaver(Solver<Request,Enrollment> solver)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
save()
Save an XML file
|
void |
save(File outFile)
Save an XML file
|
getAssignment, getModel, getSolution, getSolver, run, setCallbackpublic StudentSectioningXMLSaver(Solver<Request,Enrollment> solver)
solver - student sectioning solverpublic void save() throws Exception
save in class StudentSectioningSaverException - thrown when the save failsCopyright © 2014 UniTime LLC. All Rights Reserved.