public class RoomViolations extends TimetablingCriterion
AbstractCriterion.ValueUpdateType
iBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat
Constructor and Description |
---|
RoomViolations() |
Modifier and Type | Method and Description |
---|---|
double[] |
getBounds()
Bounds (minimum and maximum) estimate for the value
|
double[] |
getBounds(Collection<Lecture> variables)
Value bounds (minimum and maximum) of the criterion on a part of the problem
|
double |
getValue(Placement value,
Set<Placement> conflicts)
Value of a proposed assignment (including hard conflicts)
|
protected boolean |
violation(Placement value) |
getAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, getPlacementSelectionWeightName, init, toString
afterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestRestored, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getValue, getValue, getWeight, getWeightDefault, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemoved
public RoomViolations()
public double getValue(Placement value, Set<Placement> conflicts)
Criterion
public double[] getBounds()
Criterion
public double[] getBounds(Collection<Lecture> variables)
Criterion