@Deprecated public class TimetableComparator extends GeneralSolutionComparator<Lecture,Placement>
Parameter | Type | Comment |
---|---|---|
Comparator.HardStudentConflictWeight | Double |
Weight of hard student conflict (conflict between single-section classes) |
Comparator.StudentConflictWeight | Double |
Weight of student conflict |
Comparator.TimePreferenceWeight | Double |
Time preferences weight |
Comparator.ContrPreferenceWeight | Double |
Group constraint preferences weight |
Comparator.RoomPreferenceWeight | Double |
Room preferences weight |
Comparator.UselessSlotWeight | Double |
Useless slots weight |
Comparator.TooBigRoomWeight | Double |
Too big room weight |
Comparator.DistanceInstructorPreferenceWeight | Double |
Distance (of the rooms of the back-to-back classes) based instructor preferences weight |
Comparator.PerturbationPenaltyWeight | Double |
Perturbation penalty (see UniversalPerturbationsCounter ) |
Comparator.DeptSpreadPenaltyWeight | Double |
Department balancing penalty (see
DepartmentSpreadConstraint ) |
Constructor and Description |
---|
TimetableComparator(DataProperties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
currentValue(Solution<Lecture,Placement> currentSolution)
Deprecated.
|
double |
getBest(Solution<Lecture,Placement> currentSolution)
Deprecated.
|
isBetterThanBestSolution
public TimetableComparator(DataProperties properties)
@Deprecated public double currentValue(Solution<Lecture,Placement> currentSolution)
Model.getTotalValue()
instead.@Deprecated public double getBest(Solution<Lecture,Placement> currentSolution)
Solution.getBestValue()
instead.