public class UselessHalfHours extends BrokenTimePatterns
AbstractCriterion.ValueUpdateTypeiBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat| Constructor and Description |
|---|
UselessHalfHours() |
| Modifier and Type | Method and Description |
|---|---|
static int |
countUselessSlotsHalfHours(RoomConstraint rc)
Number of useless slots for this room
|
protected static int |
countUselessSlotsHalfHours(RoomConstraint rc,
Placement placement)
Number of useless half hours for this room
|
String |
getPlacementSelectionWeightName() |
double |
getWeightDefault(DataProperties config)
Defines default weight (when
AbstractCriterion.getWeightName() parameter is not present in the criterion). |
protected double |
penalty(RoomConstraint rc) |
protected double |
penalty(RoomConstraint rc,
Placement value) |
computeBounds, countUselessSlotsBrokenTimePatterns, countUselessSlotsBrokenTimePatterns, getBounds, getValue, getValue, penaltygetAbbreviation, getPlacementSelectionWeight, getPlacementSelectionWeightDefault, init, toStringafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestRestored, bestSaved, clearCache, constraintAdded, constraintRemoved, getBest, getBounds, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getValue, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemovedpublic UselessHalfHours()
public double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class BrokenTimePatternspublic String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class BrokenTimePatternsprotected double penalty(RoomConstraint rc)
penalty in class BrokenTimePatternsprotected double penalty(RoomConstraint rc, Placement value)
penalty in class BrokenTimePatternsprotected static int countUselessSlotsHalfHours(RoomConstraint rc, Placement placement)
public static int countUselessSlotsHalfHours(RoomConstraint rc)