|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.studentsct.report.DistanceConflictTable
public class DistanceConflictTable
This class lists distance student conflicts in a CSVFile
comma separated text file.
Two sections that are attended by the same student are considered in a
distance conflict if they are back-to-back taught in locations
that are two far away. See DistanceConflict
for more details.
Each line represent a pair if courses that have one or more distance conflicts
in between (columns Course1, Course2), column NrStud displays the number
of student distance conflicts (weighted by requests weights), and column
AvgDist displays the average distance for all the distance conflicts between
these two courses. The column NoAlt is Y when every possible enrollment of the
first course is either overlapping or there is a distance conflict with every
possible enrollment of the second course (it is N otherwise) and a column
Reason which lists the sections that are involved in a distance conflict.
Usage: new DistanceConflictTable(model),createTable(true, true).save(aFile);
Constructor Summary | |
---|---|
DistanceConflictTable(StudentSectioningModel model)
Constructor |
Method Summary | |
---|---|
CSVFile |
createTable(boolean includeLastLikeStudents,
boolean includeRealStudents)
Create report |
StudentSectioningModel |
getModel()
Return student sectioning model |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistanceConflictTable(StudentSectioningModel model)
model
- student sectioning modelMethod Detail |
---|
public StudentSectioningModel getModel()
public CSVFile createTable(boolean includeLastLikeStudents, boolean includeRealStudents)
includeLastLikeStudents
- true, if last-like students should be included (i.e., Student.isDummy()
is true)includeRealStudents
- true, if real students should be included (i.e., Student.isDummy()
is false)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |