public class ChmTest extends Test
sDoubleFormat, sPercentageFormat, sTimeFormat| Constructor and Description |
|---|
ChmTest(DataProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateReports(File dir,
Assignment<TeachingRequest.Variable,TeachingAssignment> assignment)
Generate a few reports
|
String |
getAttributes(Instructor instructor,
String type) |
String |
getAttributes(TeachingRequest req,
Instructor instructor,
String type) |
String |
getAttributes(TeachingRequest req,
String type) |
String |
getCoursePreference(TeachingRequest req,
Instructor instructor) |
String |
getCoursePrefs(Instructor instructor) |
static void |
main(String[] args) |
addAttributeType, addInstructor, addRequest, bitset2string, createBitSet, getAttributeTypes, getInfo, getInstructors, getProperties, getRequests, getTotalValue, getTotalValue, getWeeks, load, save, string2preferenceaddConstraint, addCriterion, addGlobalConstraint, addModelListener, addVariable, afterAssigned, afterAssigned, afterUnassigned, afterUnassigned, assignedVariables, assignedVariables, beforeAssigned, beforeAssigned, beforeUnassigned, beforeUnassigned, bestUnassignedVariables, bestUnassignedVariables, clearAssignmentContexts, clearBest, conflictConstraints, conflictValues, conflictValues, constraints, countConstraints, countGlobalConstraints, countVariables, createAssignmentContexts, createInheritedAssignment, createReference, getBestPerturbations, getBestUnassignedVariables, getBestValue, getCriteria, getCriterion, getDefaultAssignment, getEmptyAssignment, getExtendedInfo, getExtendedInfo, getInfo, getInfo, getInfo, getInfoProviders, getModelListeners, getPerc, getPercRev, getTotalValue, getTotalValue, globalConstraints, inConflict, inConflict, init, invalidateVariablesWithInitialValueCache, modelListenerOfType, nrAssignedVariables, nrAssignedVariables, nrUnassignedVariables, nrUnassignedVariables, perturbVariables, perturbVariables, perturbVariables, perturbVariables, perturbVariables, removeConstraint, removeCriterion, removeCriterion, removeGlobalConstraint, removeModelListener, removeReference, removeVariable, restoreBest, restoreBest, restoreBest, saveBest, saveBest, setBestValue, setDefaultAssignment, toString, toString, unassignedHardConstraints, unassignedVariables, unassignedVariables, variables, variablesWithInitialValue, weakenpublic ChmTest(DataProperties properties)
public String getAttributes(TeachingRequest req, String type)
public String getAttributes(Instructor instructor, String type)
public String getCoursePrefs(Instructor instructor)
public String getCoursePreference(TeachingRequest req, Instructor instructor)
public String getAttributes(TeachingRequest req, Instructor instructor, String type)
protected void generateReports(File dir, Assignment<TeachingRequest.Variable,TeachingAssignment> assignment) throws IOException
TestgenerateReports in class Testdir - output directoryassignment - current assignmentsIOException - when there is an IO error