blob: 7e9df92117efd08e1d37f10d51669391452ad2f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<?php
/**
* AdmissionAlgorithm.class.php
*
* Abstract class for seminar seat distribution. A concrete algorithm
* needs to be implemented.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* @author Thomas Hackl <thomas.hackl@uni-passau.de>
* @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2
* @category Stud.IP
*/
abstract class AdmissionAlgorithm
{
/**
* Runs an algorithm that distributes all seats in the given CourseSet.
*
* @param CourseSet course set object
* @return boolean Did the algorithm run successfully?
*/
public function run($courseSet)
{
return true;
}
} /* end of class AdmissionAlgorithm */
?>
|