public abstract class TimetablingCriterion extends AbstractCriterion<Lecture,Placement>
AbstractCriterion
, it provides
weights for the PlacementSelection
heuristics.
AbstractCriterion.ValueUpdateType
iBest, iDebug, iValue, iValueUpdateType, iWeight, sDoubleFormat, sPercentFormat
Constructor and Description |
---|
TimetablingCriterion() |
Modifier and Type | Method and Description |
---|---|
String |
getAbbreviation()
Abbreviated name of the criterion for
toString() . |
double |
getPlacementSelectionWeight(int level) |
double |
getPlacementSelectionWeightDefault(int level) |
String |
getPlacementSelectionWeightName() |
boolean |
init(Solver<Lecture,Placement> solver)
Notification that the model was initialized by the solver.
|
String |
toString() |
afterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestRestored, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, getBest, getBounds, getBounds, getInfo, getInfo, getModel, getName, getPerc, getPercRev, getValue, getValue, getWeight, getWeightDefault, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, variableAdded, variableRemoved
public TimetablingCriterion()
public boolean init(Solver<Lecture,Placement> solver)
ModelListener
init
in interface ModelListener<Lecture,Placement>
init
in class AbstractCriterion<Lecture,Placement>
solver
- IFS solverpublic String getPlacementSelectionWeightName()
public double getPlacementSelectionWeight(int level)
public double getPlacementSelectionWeightDefault(int level)
public String getAbbreviation()
toString()
.