Package | Description |
---|---|
net.sf.cpsolver.exam.heuristics |
Examination Timetabling: Solution Heuristics.
|
net.sf.cpsolver.exam.model |
Examination Timetabling: Model.
|
net.sf.cpsolver.exam.neighbours |
Examination Timetabling: Various Neighbourhoods.
|
net.sf.cpsolver.exam.reports |
Examination Timetabling: Reports.
|
net.sf.cpsolver.exam.split |
This package contains an an experimental criterion that allows an exam to be split into two if it decreases the number of student conflicts.
|
Modifier and Type | Method and Description |
---|---|
Set<ExamRoomPlacement> |
ExamColoringConstruction.findRooms(Exam exam,
ExamPeriodPlacement period) |
Modifier and Type | Method and Description |
---|---|
ExamRoomPlacement |
Exam.getRoomPlacement(ExamRoom room)
Returns appropriate
ExamRoomPlacement for the given room, if it
is available for this exam, null otherwise. |
ExamRoomPlacement |
Exam.getRoomPlacement(long roomId)
Returns appropriate
ExamRoomPlacement for the given room, if it
is available for this exam, null otherwise. |
Modifier and Type | Method and Description |
---|---|
Set<ExamRoomPlacement> |
Exam.findBestAvailableRooms(ExamPeriodPlacement period)
Find best available rooms for the exam in the given period.
|
Set<ExamRoomPlacement> |
Exam.findRoomsRandom(ExamPeriodPlacement period)
Randomly find a set of available rooms for the exam in the given period.
|
Set<ExamRoomPlacement> |
Exam.findRoomsRandom(ExamPeriodPlacement period,
boolean checkConflicts)
Randomly find a set of available rooms for the exam in the given period.
|
List<ExamRoomPlacement> |
Exam.getRoomPlacements()
Return list of possible room placements.
|
Set<ExamRoomPlacement> |
ExamPlacement.getRoomPlacements()
Assigned rooms (it is empty when
Exam.getMaxRooms() is zero) |
Modifier and Type | Method and Description |
---|---|
boolean |
Exam.checkDistributionConstraints(ExamRoomPlacement room)
Check all distribution constraint that this exam is involved in
|
int |
ExamRoomPlacement.compareTo(ExamRoomPlacement o)
Compare two room placements
|
double |
ExamRoomPlacement.getDistanceInMeters(ExamRoomPlacement other)
Room distance
|
int |
Exam.getDistributionConstraintPenalty(ExamRoomPlacement room)
Check all soft distribution constraint that this exam is involved in
|
Constructor and Description |
---|
Exam(long id,
String name,
int length,
boolean altSeating,
int maxRooms,
int minSize,
List<ExamPeriodPlacement> periodPlacements,
List<ExamRoomPlacement> roomPlacements)
Constructor
|
ExamPlacement(Exam exam,
ExamPeriodPlacement periodPlacement,
Set<ExamRoomPlacement> roomPlacements)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Set<ExamRoomPlacement> |
ExamPeriodSwapMove.findBestAvailableRooms(Exam exam,
ExamPeriodPlacement period,
Set<ExamPlacement> conflictsToIgnore,
Map<Exam,ExamPlacement> placements) |
Modifier and Type | Method and Description |
---|---|
boolean |
ExamPeriodSwapMove.checkDistributionConstraints(Exam exam,
ExamRoomPlacement room,
Set<ExamPlacement> conflictsToIgnore,
Map<Exam,ExamPlacement> placements) |
int |
ExamPeriodSwapMove.getDistributionConstraintPenalty(Exam exam,
ExamRoomPlacement room,
Set<ExamPlacement> conflictsToIgnore,
Map<Exam,ExamPlacement> placements) |
Constructor and Description |
---|
ExamRoomSwapNeighbour(ExamPlacement placement,
ExamRoomPlacement current,
ExamRoomPlacement swap) |
Modifier and Type | Method and Description |
---|---|
int |
ExamRoomComparator.compare(ExamRoomPlacement r1,
ExamRoomPlacement r2)
Compare two rooms based on their normal/alternative seating size
|
Modifier and Type | Method and Description |
---|---|
Set<ExamRoomPlacement> |
ExamSplitMoves.findBestAvailableRooms(Exam exam,
ExamPeriodPlacement period,
int examSize)
Find best available rooms for a new exam (that is to be split from the given one),
if is is assigned into the given examination period.
|