public class DepartmentBalancingPenalty extends SameSubpartBalancingPenalty
DepartmentSpreadConstraint.
AbstractCriterion.ValueUpdateTypeiBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat| Constructor and Description |
|---|
DepartmentBalancingPenalty() |
| Modifier and Type | Method and Description |
|---|---|
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). |
getBounds, getBounds, getValuegetAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, init, toStringafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestRestored, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemovedpublic DepartmentBalancingPenalty()
public double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class SameSubpartBalancingPenaltypublic String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class SameSubpartBalancingPenaltypublic double getValue(Placement value, Set<Placement> conflicts)
Criterionpublic double getValue(Collection<Lecture> variables)
Criterion