|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectttsolver.TimetableLoader
ttsolver.TimetableXMLLoader
public class TimetableXMLLoader
This class loads the input model from XML file.
Parameters:
| Parameter | Type | Comment |
|---|---|---|
| General.Input | String | Input XML file |
| General.InitialAssignment | Boolean | Use the solution as initial assignment |
| General.UseDepartmentSpreadConstraints | Boolean | Use DepartmentSpreadConstraint |
| General.MPP | Boolean | Minimal perturbation problem (if true, initial assignments are set from solution) |
| General.ForcedPerturbances | Integer | For testing of MPP: number of input perturbations, i.e., classes with prohibited intial assignment |
| General.UseDistanceConstraints | Boolean | Consider distances between buildings |
| Constructor Summary | |
|---|---|
TimetableXMLLoader(TimetableModel model)
|
|
| Method Summary | |
|---|---|
void |
load(PrintWriter out)
Load the model. |
| Methods inherited from class ttsolver.TimetableLoader |
|---|
getModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimetableXMLLoader(TimetableModel model)
| Method Detail |
|---|
public void load(PrintWriter out)
throws Exception
TimetableLoader
load in class TimetableLoaderout - some error/warning/info messages could be printed here
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||