# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

- Deprecated Classes
  Class and Description
  net.sf.cpsolver.coursett.heuristics.TimetableComparator

- Deprecated Methods
  Method and Description
  net.sf.cpsolver.coursett.heuristics.TimetableComparator.currentValue(Solution<Lecture, Placement>)
  net.sf.cpsolver.coursett.constraint.InstructorConstraint.getAvailableArray()
  net.sf.cpsolver.coursett.heuristics.TimetableComparator.getBest(Solution<Lecture, Placement>)
  net.sf.cpsolver.ifs.util.DistanceMetric.getDistanceInMeters(Double, Double, Double, Double) Use @{link `DistanceMetric.getDistanceInMeters(Long, Double, Double, Long, Double, Double)` instead (to include travel time matrix when available).
  net.sf.cpsolver.ifs.util.DistanceMetric.getDistanceInMinutes(double, double, double, double) Use @{link `DistanceMetric.getDistanceInMinutes(Long, Double, Double, Long, Double, Double)` instead (to include travel time matrix when available).
  net.sf.cpsolver.exam.model.ExamRoom.getPlacement(ExamPeriod) If room sharing is allowed, this method only returns first exam. Use `ExamRoom.getPlacements(ExamPeriod)` instead.
  net.sf.cpsolver.coursett.model.TimeLocation.IntEnumeration.nextInt()