## Uses of Class
org.cpsolver.exam.model.ExamRoom

- Packages that use ExamRoom
  Package | Description
  --- | ---
  org.cpsolver.exam.model | Examination Timetabling: Model.

- - ### Uses of ExamRoom in org.cpsolver.exam.model

    Methods in org.cpsolver.exam.model that return ExamRoom
    Modifier and Type | Method and Description
    --- | ---
    `ExamRoom` | ExamRoom.`getParentRoom()` If this room is a partition of some other room, returns the parent room (which is partitioned).
    `ExamRoom` | ExamRoomPlacement.`getRoom()` Examination room

    Methods in org.cpsolver.exam.model that return types with arguments of type ExamRoom
    Modifier and Type | Method and Description
    --- | ---
    `List<ExamRoom>` | ExamRoom.`getPartitions()` If this room is partitioned into multiple rooms, return room partitions
    `List<ExamRoom>` | ExamModel.`getRooms()` Problem rooms

    Methods in org.cpsolver.exam.model with parameters of type ExamRoom
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExamRoom.`addPartition(ExamRoom room)` Add partition of this room.
    `void` | ExamRoomSharing.`computeConflicts(Exam exam, Collection<ExamPlacement> other, ExamRoom room, Set<ExamPlacement> conflicts)` Compute conflicting placement for the case when a given examination needs to be placed in the same room at the same period as the other examinations
    `void` | ExamRoomSharing.`computeConflicts(ExamPlacement exam, Collection<ExamPlacement> other, ExamRoom room, Set<ExamPlacement> conflicts)` Compute conflicting placement for the case when a given examination needs to be placed in the same room at the same period as the other examinations
    `boolean` | ExamPlacement.`contains(ExamRoom room)` True if given room is between `ExamPlacement.getRoomPlacements()`
    `double` | ExamRoom.`getDistanceInMeters(ExamRoom other)` Distance between two rooms.
    `ExamRoomPlacement` | Exam.`getRoomPlacement(ExamRoom room)` Returns appropriate `ExamRoomPlacement` for the given room, if it is available for this exam, null otherwise.
    `boolean` | ExamRoomSharing.`inConflict(Exam exam, Collection<ExamPlacement> other, ExamRoom room)` True if given examination can not be placed in the same room at the same period as the other examinations
    `boolean` | ExamRoomSharing.`inConflict(ExamPlacement exam, Collection<ExamPlacement> other, ExamRoom room)` True if given examination can not be placed in the same room at the same period as the other examinations

    Constructors in org.cpsolver.exam.model with parameters of type ExamRoom
    Constructor and Description
    `ExamRoomPlacement(ExamRoom room)` Constructor
    `ExamRoomPlacement(ExamRoom room, int penalty)` Constructor
    `ExamRoomPlacement(ExamRoom room, int penalty, int maxPenalty)` Constructor