public class RoomViolations extends TimetablingCriterion
AbstractCriterion.ValueUpdateTypeiBest, 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, toStringafterAssigned, 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, variableRemovedpublic RoomViolations()
public double getValue(Placement value, Set<Placement> conflicts)
Criterionpublic double[] getBounds()
Criterionpublic double[] getBounds(Collection<Lecture> variables)
Criterion