net.sf.cpsolver.coursett.custom
Class DeterministicStudentSectioning.DeterministicInitialSectioning
java.lang.Object
net.sf.cpsolver.coursett.model.InitialSectioning
net.sf.cpsolver.coursett.custom.DeterministicStudentSectioning.DeterministicInitialSectioning
- All Implemented Interfaces:
- Comparator<Student>
- Enclosing class:
- DeterministicStudentSectioning
public class DeterministicStudentSectioning.DeterministicInitialSectioning
- extends InitialSectioning
- implements Comparator<Student>
Assign students to groups in a deterministic way, i.e., first student to first available group etc.
- Author:
- Tomas Muller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeterministicStudentSectioning.DeterministicInitialSectioning
public DeterministicStudentSectioning.DeterministicInitialSectioning(Progress progress,
Long offeringId,
Collection<?> lectureOrConfigurations,
Collection<Student> students)
tweakSizes
protected void tweakSizes(double total)
- Overrides:
tweakSizes
in class InitialSectioning
getGroups
public InitialSectioning.Group[] getGroups()
- Overrides:
getGroups
in class InitialSectioning
compare
public int compare(Student s1,
Student s2)
- Sort students by their curriculum information and id
- Specified by:
compare
in interface Comparator<Student>
Copyright © 2014 UniTime LLC. All Rights Reserved.