|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cpsolver.studentsct.StudentSectioningSaver
net.sf.cpsolver.studentsct.StudentSectioningXMLSaver
public class StudentSectioningXMLSaver
Save student sectioning solution into an XML file.
Parameters:
| 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 Summary | |
|---|---|
StudentSectioningXMLSaver(Solver<Request,Enrollment> solver)
Constructor |
|
| Method Summary | |
|---|---|
void |
save()
Save an XML file |
void |
save(File outFile)
Save an XML file |
| Methods inherited from class net.sf.cpsolver.studentsct.StudentSectioningSaver |
|---|
getModel, getSolution, getSolver, run, setCallback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StudentSectioningXMLSaver(Solver<Request,Enrollment> solver)
solver - student sectioning solver| Method Detail |
|---|
public void save()
throws Exception
save in class StudentSectioningSaverException
public void save(File outFile)
throws Exception
outFile - output file
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||