public class StudentCommittedConflict extends StudentConflict
AbstractCriterion.ValueUpdateType
iIncludeConflicts
iBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat
Constructor and Description |
---|
StudentCommittedConflict() |
Modifier and Type | Method and Description |
---|---|
double[] |
getBounds(Collection<Lecture> variables)
Value bounds (minimum and maximum) of the criterion on a part of the problem
|
String |
getPlacementSelectionWeightName() |
double |
getValue(Collection<Lecture> variables)
Value of a part of the problem (given by the collection of variables)
|
double |
getValue(Placement value,
Set<Placement> conflicts)
Value of a proposed assignment (including hard conflicts)
|
double |
getWeightDefault(DataProperties config)
Defines default weight (when
AbstractCriterion.getWeightName() parameter is not present in the criterion). |
boolean |
inConflict(Placement p1,
Placement p2) |
boolean |
isApplicable(Lecture l1,
Lecture l2) |
applicable, applicable, bestRestored, committed, committed, distance, getBounds, getMetrics, getValue, hard, hard, ignore, ignore, incJenrl, init, jointEnrollment, overlaps
getAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, toString
afterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemoved
public StudentCommittedConflict()
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 boolean isApplicable(Lecture l1, Lecture l2)
isApplicable
in class StudentConflict
public boolean inConflict(Placement p1, Placement p2)
inConflict
in class StudentConflict
public double[] getBounds(Collection<Lecture> variables)
Criterion
public double getValue(Placement value, Set<Placement> conflicts)
Criterion
public double getValue(Collection<Lecture> variables)
Criterion