A test class to demonstrate and compare different online sectioning
approaches. It assumes only a single course with just one instructional type
(subpart) and that we know the correct expected demand in advance.
With the given configuration (e.g., two sections of size 5), it tries all
combinations of students how they can be enrolled and compute average and
worst case scenarios.
java -cp cpsolver-all-1.1.jar
org.cpsolver.studentsct.OnlineSectProof n1 n2 n3 ...
where n1, n2, etc. are the sizes of particular sections, e.g., 10 10 for two
sections of size 10.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 3 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.