|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.coursett.TimetableSaver net.sf.cpsolver.coursett.TimetableXMLSaver
public class TimetableXMLSaver
This class saves the resultant solution in the XML format.
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.ExportStudentSectioning | Boolean | If true, student sectioning is saved even when there is no solution. |
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 |
---|
public static boolean ANONYMISE
Constructor Detail |
---|
public TimetableXMLSaver(Solver solver)
Method Detail |
---|
public void save() throws Exception
TimetableSaver
save
in class TimetableSaver
Exception
public void save(File outFile) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |