public class InstructorNotAvailableConflicts extends InstructorDirectConflicts
AbstractCriterion.ValueContext, AbstractCriterion.ValueUpdateTypeiBest, iDebug, iWeight, sDoubleFormat, sPercentFormatsMaxSize| Constructor and Description |
|---|
InstructorNotAvailableConflicts() |
| Modifier and Type | Method and Description |
|---|---|
void |
getInfo(Assignment<Exam,ExamPlacement> assignment,
Map<String,String> info)
Adds some information into the table with information about the solution
|
String |
getName()
Criterion name
|
double |
getValue(Assignment<Exam,ExamPlacement> assignment,
Collection<Exam> exams)
Value of a part of the problem (given by the collection of variables)
|
double |
getValue(Assignment<Exam,ExamPlacement> assignment,
ExamPlacement value,
Set<ExamPlacement> conflicts)
Value of a proposed assignment (including hard conflicts)
|
String |
toString(Assignment<Exam,ExamPlacement> assignment)
Simple text representation of the criterion and its value.
|
getWeightDefault, getWeightName, getXmlWeightNamegetBounds, getPeriodValue, getRoomValue, getXmlParameters, isPeriodCriterion, isRoomCriterion, setWeight, setXmlParametersafterAssigned, afterUnassigned, beforeAssigned, beforeUnassigned, bestRestored, bestSaved, clearCache, computeBounds, configure, constraintAdded, constraintRemoved, createAssignmentContext, getAbbreviation, getAssignmentContextReference, getBest, getBounds, getBounds, getBounds, getContext, getContext, getExtendedInfo, getInfo, getModel, getPerc, getPercentage, getPercRev, getValue, getValue, getValue, getValueUpdateType, getWeight, getWeightedBest, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, getWeightedValue, inc, inc, init, setAssignmentContextReference, setModel, setValueUpdateType, variableAdded, variableRemovedpublic InstructorNotAvailableConflicts()
public double getValue(Assignment<Exam,ExamPlacement> assignment, ExamPlacement value, Set<ExamPlacement> conflicts)
CriteriongetValue in interface Criterion<Exam,ExamPlacement>getValue in class InstructorDirectConflictsassignment - current assignmentvalue - given valueconflicts - values conflicting with the given valuepublic double getValue(Assignment<Exam,ExamPlacement> assignment, Collection<Exam> exams)
CriteriongetValue in interface Criterion<Exam,ExamPlacement>getValue in class InstructorDirectConflictsassignment - current assignmentexams - list of problem variablespublic String getName()
CriteriongetName in interface Criterion<Exam,ExamPlacement>getName in class InstructorDirectConflictspublic void getInfo(Assignment<Exam,ExamPlacement> assignment, Map<String,String> info)
InfoProvidergetInfo in interface InfoProvider<Exam,ExamPlacement>getInfo in class InstructorDirectConflictsassignment - current assignmentinfo - info tablepublic String toString(Assignment<Exam,ExamPlacement> assignment)
AbstractCriterionAbstractCriterion.getAbbreviation()
and x is the current value AbstractCriterion.getValue(Assignment).toString in interface Criterion<Exam,ExamPlacement>toString in class InstructorDirectConflictsassignment - current assignment