public class StudentCommittedConflict extends StudentConflict
AbstractCriterion.ValueContext, AbstractCriterion.ValueUpdateTypeiIncludeConflictsiBest, iDebug, iWeight, sDoubleFormat, sPercentFormatsMaxSize| Constructor and Description |
|---|
StudentCommittedConflict() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getBounds(Assignment<Lecture,Placement> assignment,
Collection<Lecture> variables)
Value bounds (minimum and maximum) of the criterion on a part of the problem
|
String |
getPlacementSelectionWeightName() |
double |
getValue(Assignment<Lecture,Placement> assignment,
Collection<Lecture> variables)
Value of a part of the problem (given by the collection of variables)
|
double |
getValue(Assignment<Lecture,Placement> assignment,
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). |
boolean |
isApplicable(Lecture l1,
Lecture l2) |
applicable, bestRestored, committed, configure, distance, getBounds, getMetrics, hard, ignore, incJenrl, inConflict, isApplicable, jointEnrollment, jointEnrollment, overlaps, slots, uncommitted, workdaygetPlacementSelectionAdjustmentsName, getPlacementSelectionWeight, getPlacementSelectionWeightDefaultafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestSaved, clearCache, computeBounds, constraintAdded, constraintRemoved, createAssignmentContext, getAbbreviation, getAssignmentContextReference, getBest, getBounds, getBounds, getContext, getContext, getExtendedInfo, getInfo, getInfo, getModel, getName, getPerc, getPercentage, getPercRev, getValue, getValue, getValue, getValueUpdateType, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, getWeightName, inc, inc, init, setAssignmentContextReference, setModel, setValueUpdateType, toString, variableAdded, variableRemovedpublic StudentCommittedConflict()
public double getWeightDefault(DataProperties config)
AbstractCriterionAbstractCriterion.getWeightName() parameter is not present in the criterion).getWeightDefault in class AbstractCriterion<Lecture,Placement>config - solver configurationpublic String getPlacementSelectionWeightName()
getPlacementSelectionWeightName in class StudentConflictpublic boolean isApplicable(Lecture l1, Lecture l2)
isApplicable in class StudentConflictpublic double[] getBounds(Assignment<Lecture,Placement> assignment, Collection<Lecture> variables)
Criterionpublic double getValue(Assignment<Lecture,Placement> assignment, Placement value, Set<Placement> conflicts)
Criterionpublic double getValue(Assignment<Lecture,Placement> assignment, Collection<Lecture> variables)
Criterion