## Uses of Class
net.sf.cpsolver.coursett.model.TimeLocation

- Packages that use TimeLocation
  Package | Description
  --- | ---
  net.sf.cpsolver.coursett.constraint | University Course Timetabling: Constraints.
  net.sf.cpsolver.coursett.model | University Course Timetabling: Model.
  net.sf.cpsolver.studentsct | Student Sectioning Solver.
  net.sf.cpsolver.studentsct.model | Student Sectioning: Model.

- - ### Uses of TimeLocation in net.sf.cpsolver.coursett.constraint

    Methods in net.sf.cpsolver.coursett.constraint with parameters of type TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | InstructorConstraint.`isAvailable(Lecture lecture, TimeLocation time)`
    `boolean` | RoomConstraint.`isAvailable(Lecture lecture, TimeLocation time, Long scheduler)`

  - ### Uses of TimeLocation in net.sf.cpsolver.coursett.model

    Methods in net.sf.cpsolver.coursett.model that return TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `TimeLocation` | Placement.`getTimeLocation()` Time location

    Methods in net.sf.cpsolver.coursett.model that return types with arguments of type TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `List<TimeLocation>` | Lecture.`timeLocations()` All time locations

    Methods in net.sf.cpsolver.coursett.model with parameters of type TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TimeLocation.`hasIntersection(TimeLocation anotherLocation)` true if overlap
    `boolean` | RoomSharingModel.`isAvailable(TimeLocation timeLocation, Long departmentId)`
    `int` | TimeLocation.`nrSharedDays(TimeLocation anotherLocation)` number of overlapping days
    `int` | TimeLocation.`nrSharedHours(TimeLocation anotherLocation)` number of overlapping time slots (ignoring days)
    `int` | Lecture.`nrValues(TimeLocation time)`
    `boolean` | TimeLocation.`shareDays(TimeLocation anotherLocation)` true if days overlap
    `boolean` | TimeLocation.`shareHours(TimeLocation anotherLocation)` true if hours overlap
    `boolean` | TimeLocation.`shareWeeks(TimeLocation anotherLocation)` true if weeks overlap

    Constructors in net.sf.cpsolver.coursett.model with parameters of type TimeLocation
    Constructor and Description
    `Placement(Lecture lecture, TimeLocation timeLocation, List<RoomLocation> roomLocations)`
    `Placement(Lecture lecture, TimeLocation timeLocation, RoomLocation roomLocation)` Constructor

    Constructor parameters in net.sf.cpsolver.coursett.model with type arguments of type TimeLocation
    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

  - ### Uses of TimeLocation in net.sf.cpsolver.studentsct

    Methods in net.sf.cpsolver.studentsct with parameters of type TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `double` | StudentPreferencePenalties.`getPenalty(TimeLocation time)` Return penalty of the given time.

  - ### Uses of TimeLocation in net.sf.cpsolver.studentsct.model

    Methods in net.sf.cpsolver.studentsct.model that return TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `TimeLocation` | Assignment.`getTime()` Time assignment
    `TimeLocation` | Choice.`getTime()` Time location of the choice
    `TimeLocation` | FreeTimeRequest.`getTime()` Return requested time to be free
    `TimeLocation` | Section.`getTime()` Time placement of the section.

    Methods in net.sf.cpsolver.studentsct.model with parameters of type TimeLocation
    Modifier and Type | Method and Description
    --- | ---
    `int` | Student.`countFreeTimeOverlaps(TimeLocation time)` Count number of free time slots overlapping with the given time

    Constructors in net.sf.cpsolver.studentsct.model with parameters of type TimeLocation
    Constructor and Description
    `Choice(Offering offering, String instructionalType, TimeLocation time, String instructorIds, String instructorNames)` Constructor
    `FreeTimeRequest(long id, int priority, boolean alternative, Student student, TimeLocation time)` Constructor