public class ImportantStudentConflict extends StudentConflict
Student.getPriority(Long)
.
AbstractCriterion.ValueUpdateType
iIncludeConflicts
iBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat
Constructor and Description |
---|
ImportantStudentConflict() |
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 |
important(Placement p1,
Placement p2) |
void |
incJenrl(JenrlConstraint jenrl,
double studentWeight,
Double conflictPriority,
Student student) |
boolean |
inConflict(Placement p1,
Placement p2) |
protected double |
jointEnrollment(JenrlConstraint jenrl) |
applicable, applicable, bestRestored, committed, committed, distance, getBounds, getBounds, getMetrics, getValue, getValue, getValue, hard, hard, ignore, ignore, init, isApplicable, overlaps
getAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, toString
afterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getModel, getName, getPerc, getPercRev, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemoved
public ImportantStudentConflict()
protected double jointEnrollment(JenrlConstraint jenrl)
jointEnrollment
in class StudentConflict
public boolean inConflict(Placement p1, Placement p2)
inConflict
in class StudentConflict
public void incJenrl(JenrlConstraint jenrl, double studentWeight, Double conflictPriority, Student student)
incJenrl
in class StudentConflict
public double getWeightDefault(DataProperties config)
AbstractCriterion
AbstractCriterion.getWeightName()
parameter is not present in the criterion).getWeightDefault
in class AbstractCriterion<Lecture,Placement>
public String getPlacementSelectionWeightName()
getPlacementSelectionWeightName
in class StudentConflict
public void getInfo(Map<String,String> info)
InfoProvider
getInfo
in interface InfoProvider<Lecture>
getInfo
in class AbstractCriterion<Lecture,Placement>
public void getInfo(Map<String,String> info, Collection<Lecture> variables)
InfoProvider
getInfo
in interface InfoProvider<Lecture>
getInfo
in class AbstractCriterion<Lecture,Placement>