## Uses of Class
org.cpsolver.coursett.model.RoomLocation

- Packages that use RoomLocation
  Package | Description
  --- | ---
  org.cpsolver.coursett.constraint | University Course Timetabling: Constraints.
  org.cpsolver.coursett.model | University Course Timetabling: Model.
  org.cpsolver.studentsct.extension | Student Sectioning: Various Extensions.
  org.cpsolver.studentsct.model | Student Sectioning: Model.
  org.cpsolver.studentsct.online.selection | Online Student Sectioning Solver: Selection Weights and Heuristics.

- - ### Uses of RoomLocation in org.cpsolver.coursett.constraint

    Methods in org.cpsolver.coursett.constraint that return types with arguments of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `Map<RoomLocation,Set<Lecture>>` | MinimizeNumberOfUsedRoomsConstraint.MinimizeNumberOfUsedRoomsConstraintContext.`getUsedRooms()`

  - ### Uses of RoomLocation in org.cpsolver.coursett.model

    Methods in org.cpsolver.coursett.model that return RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `RoomLocation` | Placement.`getRoomLocation()` Room location
    `RoomLocation` | Placement.`getRoomLocation(Long roomId)`

    Methods in org.cpsolver.coursett.model that return types with arguments of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `List<RoomLocation>` | Placement.`getRoomLocations()` Room locations (multi-room placement)
    `List<RoomLocation>` | Lecture.`roomLocations()` All room locations

    Methods in org.cpsolver.coursett.model with parameters of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `int` | RoomLocation.`compareTo(RoomLocation o)`
    `double` | RoomLocation.`getDistanceInMeters(DistanceMetric m, RoomLocation roomLocation)`
    `int` | RoomLocation.`getDistanceInMinutes(DistanceMetric m, RoomLocation roomLocation)`
    `int` | Lecture.`nrValues(RoomLocation room)`

    Method parameters in org.cpsolver.coursett.model with type arguments of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `int` | Lecture.`nrValues(List<RoomLocation> rooms)`

    Constructors in org.cpsolver.coursett.model with parameters of type RoomLocation
    Constructor and Description
    `Placement(Lecture lecture, TimeLocation timeLocation, RoomLocation roomLocation)` Constructor

    Constructor parameters in org.cpsolver.coursett.model with type arguments of type RoomLocation
    Constructor and Description
    `Lecture(Long id, Long solverGroupId, Long schedulingSubpartId, String name, List<TimeLocation> timeLocations, List<RoomLocation> roomLocations, int nrRooms, Placement initialPlacement, int minClassLimit, int maxClassLimit, double room2limitRatio)` Constructor
    `Placement(Lecture lecture, TimeLocation timeLocation, List<RoomLocation> roomLocations)`

  - ### Uses of RoomLocation in org.cpsolver.studentsct.extension

    Methods in org.cpsolver.studentsct.extension with parameters of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `protected int` | DistanceConflict.`getDistanceInMinutes(RoomLocation r1, RoomLocation r2)`
    `protected int` | StudentQuality.Context.`getDistanceInMinutes(RoomLocation r1, RoomLocation r2)`

  - ### Uses of RoomLocation in org.cpsolver.studentsct.model

    Methods in org.cpsolver.studentsct.model that return types with arguments of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `List<RoomLocation>` | FreeTimeRequest.`getRooms()` Assignment API: free time request has no rooms
    `List<RoomLocation>` | SctAssignment.`getRooms()` Room assignment
    `List<RoomLocation>` | Section.`getRooms()` Room placement -- list of `RoomLocation`
    `List<RoomLocation>` | Unavailability.`getRooms()`

  - ### Uses of RoomLocation in org.cpsolver.studentsct.online.selection

    Method parameters in org.cpsolver.studentsct.online.selection with type arguments of type RoomLocation
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | ResectioningWeights.`sameRooms(Section s, List<RoomLocation> rooms)`