public class SameSubpartBalancingPenalty extends TimetablingCriterion
SpreadConstraint.
AbstractCriterion.ValueUpdateTypeiBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat| Constructor and Description |
|---|
SameSubpartBalancingPenalty() |
| 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
|
String |
getPlacementSelectionWeightName() |
double |
getValue()
Current value of the criterion (optimization objective)
|
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). |
getAbbreviation, 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 SameSubpartBalancingPenalty()
public double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class AbstractCriterion<Lecture,Placement>public String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class TimetablingCriterionpublic double getValue(Placement value, Set<Placement> conflicts)
Criterionpublic double getValue()
Criterionpublic double getValue(Collection<Lecture> variables)
Criterionpublic double[] getBounds()
Criterionpublic double[] getBounds(Collection<Lecture> variables)
Criterion