Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
RandomAlgorithm Class Reference
Inheritance diagram for RandomAlgorithm:

Public Member Functions

 run ($courseSet)
 notifyRemainingUsers ($user_list, $course, $prio=null)
 countParticipatingUsers ($course_ids, $user_ids)
- Public Member Functions inherited from AdmissionAlgorithm
 run ($courseSet)

Member Function Documentation

countParticipatingUsers (   $course_ids,

How many users have gotten a seat in distribution?

Number of users who where lucky enough to be course members now.
notifyRemainingUsers (   $user_list,
  $prio = null 

Notify users about the fact that they couldn't get a seat and the waiting list is disabled in a course.

Array$user_listUsers to be notified
Course$courseThe course without waiting list
int$prioUser's priority for the given course.
run (   $courseSet)

Runs the algorithm, thus distributing course seats.

CourseSet$courseSetThe course set containing the courses that seats shall be distributed for.
See Also

The documentation for this class was generated from the following file: