public class InstructorStudentHardConflict extends InstructorStudentConflict
AbstractCriterion.ValueUpdateTypeiIncludeConflictsiBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat| Constructor and Description |
|---|
InstructorStudentHardConflict() |
| Modifier and Type | Method and Description |
|---|---|
void |
getInfo(Map<String,String> info)
Adds some information into the table with information about the solution
|
void |
getInfo(Map<String,String> info,
Collection<Lecture> variables)
Adds some information into the table with information about the solution,
only consider variables from the given set
|
String |
getPlacementSelectionWeightName() |
double |
getWeightDefault(DataProperties config)
Defines default weight (when
AbstractCriterion.getWeightName() parameter is not present in the criterion). |
boolean |
isApplicable(Lecture l1,
Lecture l2) |
static boolean |
oneInstructorOtherHard(Lecture l1,
Lecture l2)
One of the lectures is hard, there is a joint enrollment constraint between them, and
there is at least one student that is instructor for one lecture and the other lecture
is singleton.
|
incJenrl, inConflict, instructor, jointEnrollmentapplicable, applicable, bestRestored, committed, committed, distance, getBounds, getBounds, getMetrics, getValue, getValue, getValue, hard, hard, ignore, ignore, init, overlapsgetAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, toStringafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getModel, getName, getPerc, getPercRev, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemovedpublic InstructorStudentHardConflict()
public boolean isApplicable(Lecture l1, Lecture l2)
isApplicable in class StudentConflictpublic static boolean oneInstructorOtherHard(Lecture l1, Lecture l2)
public double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class InstructorStudentConflictpublic String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class InstructorStudentConflictpublic void getInfo(Map<String,String> info)
InfoProvidergetInfo in interface InfoProvider<Lecture>getInfo in class InstructorStudentConflictpublic void getInfo(Map<String,String> info, Collection<Lecture> variables)
InfoProvidergetInfo in interface InfoProvider<Lecture>getInfo in class InstructorStudentConflict