public class QuadraticStudentConflict extends StudentConflict
StudentConflict, however,
student joint enrollments are squared (1 conflict counts as 1, 2 as 4, 3 as 9, etc.).
AbstractCriterion.ValueUpdateTypeiIncludeConflictsiBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat| Constructor and Description |
|---|
QuadraticStudentConflict() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPlacementSelectionWeightName() |
double |
getWeightDefault(DataProperties config)
Defines default weight (when
AbstractCriterion.getWeightName() parameter is not present in the criterion). |
void |
incJenrl(JenrlConstraint jenrl,
double studentWeight,
Double conflictPriority,
Student student) |
boolean |
isApplicable(Lecture l1,
Lecture l2) |
protected double |
jointEnrollment(JenrlConstraint jenrl) |
applicable, applicable, bestRestored, committed, committed, distance, getBounds, getBounds, getMetrics, getValue, getValue, getValue, hard, hard, ignore, ignore, inConflict, init, overlapsgetAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, toStringafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemovedpublic QuadraticStudentConflict()
public boolean isApplicable(Lecture l1, Lecture l2)
isApplicable in class StudentConflictpublic double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class AbstractCriterion<Lecture,Placement>public String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class StudentConflictprotected double jointEnrollment(JenrlConstraint jenrl)
jointEnrollment in class StudentConflictpublic void incJenrl(JenrlConstraint jenrl, double studentWeight, Double conflictPriority, Student student)
incJenrl in class StudentConflict