public class SimpleExamRoomSharing extends ExamRoomSharing
Exam.getLength()
) can be put into any room, if the room is big enough.Constructor and Description |
---|
SimpleExamRoomSharing(Model<Exam,ExamPlacement> model,
DataProperties config) |
Modifier and Type | Method and Description |
---|---|
boolean |
canShareRoom(Exam x1,
Exam x2)
True if given two exams can share a room
|
computeConflicts, computeConflicts, inConflict, inConflict, load, save
public SimpleExamRoomSharing(Model<Exam,ExamPlacement> model, DataProperties config)
public boolean canShareRoom(Exam x1, Exam x2)
ExamRoomSharing
canShareRoom
in class ExamRoomSharing
x1
- first examx2
- second exam