## Uses of Class
net.sf.cpsolver.coursett.constraint.RoomConstraint

- Packages that use RoomConstraint
  Package | Description
  --- | ---
  net.sf.cpsolver.coursett.constraint | University Course Timetabling: Constraints.
  net.sf.cpsolver.coursett.criteria | University Course Timetabling: Criteria.
  net.sf.cpsolver.coursett.model | University Course Timetabling: Model.

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

    Subclasses of RoomConstraint in net.sf.cpsolver.coursett.constraint
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DiscouragedRoomConstraint` Discouraged room constraint.

  - ### Uses of RoomConstraint in net.sf.cpsolver.coursett.criteria

    Methods in net.sf.cpsolver.coursett.criteria with parameters of type RoomConstraint
    Modifier and Type | Method and Description
    --- | ---
    `static int` | BrokenTimePatterns.`countUselessSlotsBrokenTimePatterns(RoomConstraint rc)` Number of useless slots for this room
    `protected static int` | BrokenTimePatterns.`countUselessSlotsBrokenTimePatterns(RoomConstraint rc, Placement placement)` Number of broken time patterns for this room
    `static int` | UselessHalfHours.`countUselessSlotsHalfHours(RoomConstraint rc)` Number of useless slots for this room
    `protected static int` | UselessHalfHours.`countUselessSlotsHalfHours(RoomConstraint rc, Placement placement)` Number of useless half hours for this room
    `protected double` | BrokenTimePatterns.`penalty(RoomConstraint rc)`
    `protected double` | UselessHalfHours.`penalty(RoomConstraint rc)`
    `protected double` | BrokenTimePatterns.`penalty(RoomConstraint rc, Placement value)`
    `protected double` | UselessHalfHours.`penalty(RoomConstraint rc, Placement value)`

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

    Methods in net.sf.cpsolver.coursett.model that return RoomConstraint
    Modifier and Type | Method and Description
    --- | ---
    `RoomConstraint` | RoomLocation.`getRoomConstraint()`

    Methods in net.sf.cpsolver.coursett.model that return types with arguments of type RoomConstraint
    Modifier and Type | Method and Description
    --- | ---
    `List<RoomConstraint>` | TimetableModel.`getRoomConstraints()` The list of all room constraints

    Constructors in net.sf.cpsolver.coursett.model with parameters of type RoomConstraint
    Constructor and Description
    `RoomLocation(Long id, String name, Long bldgId, int preference, int size, Double x, Double y, boolean ignoreTooFar, RoomConstraint rc)` Constructor