public class InevitableStudentConflicts extends Object
InevitableStudentConflicts ch = new InevitableStudentConflicts(model);
if (!ch.check()) ch.getCSVFile().save(new File("inevitable-conflicts.csv"));
Parameter | Type | Comment |
---|---|---|
InevitableStudentConflicts.DeleteInevitable | Boolean |
If true, for each no-good (the smallest set of requests of the same student
that cannot be assigned at the same time), the problematic request (i.e., the
request that was not assigned by InevitableStudentConflicts.StudentCheck ) is removed from the
model. |
Modifier and Type | Class and Description |
---|---|
static class |
InevitableStudentConflicts.StudentCheck
Use branch & bound technique to find out whether a student can get a
complete schedule.
|
Modifier and Type | Field and Description |
---|---|
static boolean |
sDebug |
Constructor and Description |
---|
InevitableStudentConflicts(StudentSectioningModel model)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(Assignment<Request,Enrollment> assignment)
Check model for inevitable student conflicts
|
CSVFile |
getCSVFile()
Return report
|
StudentSectioningModel |
getModel()
Return student sectioning model
|
public static boolean sDebug
public InevitableStudentConflicts(StudentSectioningModel model)
model
- student sectioning modelpublic StudentSectioningModel getModel()
public CSVFile getCSVFile()
public boolean check(Assignment<Request,Enrollment> assignment)
assignment
- current assignment